mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 01:01:30 +00:00
Make errors great again (#850)
This commit is contained in:
parent
b15896e0a4
commit
986b05442d
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ exports.DefaultOptions = {
|
||||||
|
|
||||||
exports.Errors = {
|
exports.Errors = {
|
||||||
NO_TOKEN: 'Request to use token, but token was unavailable to the client.',
|
NO_TOKEN: 'Request to use token, but token was unavailable to the client.',
|
||||||
NO_BOT_ACCOUNT: 'You ideally should be using a bot account!',
|
NO_BOT_ACCOUNT: 'You have to use a bot account to use this method.',
|
||||||
BAD_WS_MESSAGE: 'A bad message was received from the websocket; either bad compression, or not JSON.',
|
BAD_WS_MESSAGE: 'A bad message was received from the websocket; either bad compression, or not JSON.',
|
||||||
TOOK_TOO_LONG: 'Something took too long to do.',
|
TOOK_TOO_LONG: 'Something took too long to do.',
|
||||||
NOT_A_PERMISSION: 'Invalid permission string or number.',
|
NOT_A_PERMISSION: 'Invalid permission string or number.',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue