Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (node:9688) UnhandledPromiseRejectionWarning: RangeError: Invalid permission string or number.
- at Function.resolve (C:\Users\Gebruiker\Desktop\KSH - BOT\node_modules\discord.js\src\util\Permissions.js:195:65)
- at Permissions.has (C:\Users\Gebruiker\Desktop\KSH - BOT\node_modules\discord.js\src\util\Permissions.js:62:35)
- at Role.hasPermission (C:\Users\Gebruiker\Desktop\KSH - BOT\node_modules\discord.js\src\structures\Role.js:171:46)
- at C:\Users\Gebruiker\Desktop\KSH - BOT\node_modules\discord.js\src\structures\GuildMember.js:321:35
- at Map.some (C:\Users\Gebruiker\Desktop\KSH - BOT\node_modules\discord.js\src\util\Collection.js:357:11)
- at GuildMember.hasPermission (C:\Users\Gebruiker\Desktop\KSH - BOT\node_modules\discord.js\src\structures\GuildMember.js:321:23)
- at Object.module.exports.run (C:\Users\Gebruiker\Desktop\KSH - BOT\commands\mute.js:21:25)
- at Client.<anonymous> (C:\Users\Gebruiker\Desktop\KSH - BOT\index.js:59:27)
- at Client.emit (events.js:203:13)
- at MessageCreateHandler.handle (C:\Users\Gebruiker\Desktop\KSH - BOT\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- (node:9688) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
- (node:9688) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement