Hashmap-Software-Agency/Pyttman

[BUG] - Incorrect token / guild with DiscordClient class produces confusing error

Closed this issue · 0 comments

Describe the bug
Upon using the DiscordClient in a Pyttman app with improper Token and the client fails to authenticate,
it produces a confusing exception thrown by the Websocket library.

To Reproduce
Use the DiscordClient
Configure the TOKEN property in settings.py improperly

Expected behavior
A clear exception message letting the user know that the client failed to authenticate

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
Pyttman 1.1.4