You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had that problem before, the user field in the PRESENCE_UPDATE payload only has the id field (unless the user has changed their discrim, avatar, name, etc) it has been fixed in the develop branch. the username and discriminator are now an Option type.
I believe most (if not all) object fields should be Options on the develop branch. So try that instead for now.
My plans for now is to rewrite the whole library from scratch. I'm unsatisfied with more or less all of it, but to make it future proof I'm writing a JSON parser/marshaller that isn't stupid. I will make a separate branch for the updated library sometime soon and push progress there instead which will eventually replace the current master branch.
When trying the basic_bot example, I get a rather quick crash after a moment of the bot successfully working. Here is the output:
The key which is said to be not found changes from time to time. It has shown up as
url
,guild_id
, and mostly shows up asusername
.The text was updated successfully, but these errors were encountered: