Closed iamvinthanks closed 4 months ago
When I use client = new Discord.Client(token);
client = new Discord.Client(token);
and when token is invalid got message
discord-user-bots\src\client\client.js:58 } else throw new DiscordAPIError(`Discord rejected token "${token}" (Not valid)`); DiscordAPIError: Discord API Error: Discord rejected token "XXXXxxxxx" (Not valid)
How to handle this error?
Just added this feature in the 2.0.0 update. DUB now works just like Discord.js, with a ".login" method.
When I use
client = new Discord.Client(token);
and when token is invalid got message
How to handle this error?