discord.js error codes

is there any docs about all the error codes so i can handle them my way?
const errorCodes = [
50013 /*Missing Permissions*/,
50001 /*Missing Access*/
];
const errorCodes = [
50013 /*Missing Permissions*/,
50001 /*Missing Access*/
];
got these 2 myself by making the bot error, but doing all the errors manually is gonna take a lot time and i would miss some too, i found this: https://discord.js.org/#/docs/discord.js/main/typedef/DiscordjsErrorCodes, but it doesn't have the code of the error
5 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Shaurya
ShauryaOP2y ago
ahh, thanks, i was finding it in the discord.js docs
ShompiFlen
ShompiFlen2y ago
okay
Shaurya
ShauryaOP2y ago
waveBoye
Want results from more Discord servers?
Add your server