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
.
tho to be safe you can try adding a if in the end function separately.
i basically have to ask you to try these possible fixes yourself since I can't repro the issue consistently since I don't manage any big bot anymore where I could test it myself.
I think my problem is that the CLIENT is not READY yet / a Shard disconnected (internal Shard)
an easy fix, should in theory be adding a
if(client.isReady())
function to ensure that the client actually worksor
use the shardReady shardDisconnect etc. and ready event
Because as you can see the shard got disconnected
another reason could be unavailable guilds, check if the guild.available === false (attention it's nullable)
THANKS!
The text was updated successfully, but these errors were encountered: