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
Hey, thank you for the report. Just a note that your code sample is logically incorrect since awaiting client.login() will only return when the client has connected to the gateway and not when discord.js is ready. Utilising the ready event is the proper reproduction.
Which package is this bug report for?
discord.js
Issue description
login()
function.destroy()
function to this same client.isReady()
function still returnstrue
even though theclient.ws.destroyed
property istrue
.Code sample
Versions
Issue priority
Low (slightly annoying)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
Guilds, GuildMessages, GuildMessageReactions, MessageContent
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: