Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ╰ node bot.js
- client ready ...
- don't fuck up kid.
- key: jtfFrnm4bjrANKayuniJa6Rl5UvupRiYJztAxBbSUbb1bXp6XITSSStxuzhcwfg0Ovxb8MafK2GOU9P3uvD2j3JtklhYDvQgw0Ui
- ReferenceError: client is not defined
- at Object.execute (/Users/alecchang/Desktop/projects/bot/commands/nuke.js:36:26)
- at Client.<anonymous> (/Users/alecchang/Desktop/projects/bot/bot.js:36:38)
- at Client.emit (events.js:210:5)
- at MessageCreateHandler.handle (/Users/alecchang/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (/Users/alecchang/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (/Users/alecchang/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (/Users/alecchang/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:296:17)
- at WebSocket.onMessage (/Users/alecchang/node_modules/ws/lib/event-target.js:120:16)
- at WebSocket.emit (events.js:210:5)
- at Receiver.receiverOnMessage (/Users/alecchang/node_modules/ws/lib/websocket.js:789:20)
- (node:31611) UnhandledPromiseRejectionWarning: DiscordAPIError: Invalid Role
- at /Users/alecchang/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15
- at /Users/alecchang/node_modules/snekfetch/src/index.js:215:21
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
- (node:31611) 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: 2)
- (node:31611) [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.
- (node:31611) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions
- at /Users/alecchang/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15
- at /Users/alecchang/node_modules/snekfetch/src/index.js:215:21
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
- (node:31611) 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: 4)
- (node:31611) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions
- at /Users/alecchang/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15
- at /Users/alecchang/node_modules/snekfetch/src/index.js:215:21
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
- (node:31611) 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: 6)
- (node:31611) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions
- at /Users/alecchang/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15
- at /Users/alecchang/node_modules/snekfetch/src/index.js:215:21
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
- (node:31611) 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: 8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement