mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
friendlier notification of an invalid token (#997)
* friendlier notification of an invalid token * fixed * even fixeder * no token -> invalid token * eslint * Update RESTMethods.js
This commit is contained in:
committed by
Schuyler Cebulskie
parent
6c38b83923
commit
736fa7c611
@@ -68,6 +68,7 @@ exports.Errors = {
|
||||
INVALID_RATE_LIMIT_METHOD: 'Unknown rate limiting method.',
|
||||
BAD_LOGIN: 'Incorrect login details were provided.',
|
||||
INVALID_SHARD: 'Invalid shard settings were provided.',
|
||||
INVALID_TOKEN: 'An invalid token was provided.',
|
||||
};
|
||||
|
||||
const PROTOCOL_VERSION = exports.PROTOCOL_VERSION = 6;
|
||||
|
||||
Reference in New Issue
Block a user