Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. ╰ node bot.js
  2. client ready ...
  3. don't fuck up kid.
  4. key: jtfFrnm4bjrANKayuniJa6Rl5UvupRiYJztAxBbSUbb1bXp6XITSSStxuzhcwfg0Ovxb8MafK2GOU9P3uvD2j3JtklhYDvQgw0Ui
  5. ReferenceError: client is not defined
  6. at Object.execute (/Users/alecchang/Desktop/projects/bot/commands/nuke.js:36:26)
  7. at Client.<anonymous> (/Users/alecchang/Desktop/projects/bot/bot.js:36:38)
  8. at Client.emit (events.js:210:5)
  9. at MessageCreateHandler.handle (/Users/alecchang/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:9:34)
  10. at WebSocketPacketManager.handle (/Users/alecchang/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:105:65)
  11. at WebSocketConnection.onPacket (/Users/alecchang/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:333:35)
  12. at WebSocketConnection.onMessage (/Users/alecchang/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:296:17)
  13. at WebSocket.onMessage (/Users/alecchang/node_modules/ws/lib/event-target.js:120:16)
  14. at WebSocket.emit (events.js:210:5)
  15. at Receiver.receiverOnMessage (/Users/alecchang/node_modules/ws/lib/websocket.js:789:20)
  16. (node:31611) UnhandledPromiseRejectionWarning: DiscordAPIError: Invalid Role
  17. at /Users/alecchang/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15
  18. at /Users/alecchang/node_modules/snekfetch/src/index.js:215:21
  19. at processTicksAndRejections (internal/process/task_queues.js:93:5)
  20. (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)
  21. (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.
  22. (node:31611) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions
  23. at /Users/alecchang/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15
  24. at /Users/alecchang/node_modules/snekfetch/src/index.js:215:21
  25. at processTicksAndRejections (internal/process/task_queues.js:93:5)
  26. (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)
  27. (node:31611) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions
  28. at /Users/alecchang/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15
  29. at /Users/alecchang/node_modules/snekfetch/src/index.js:215:21
  30. at processTicksAndRejections (internal/process/task_queues.js:93:5)
  31. (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)
  32. (node:31611) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions
  33. at /Users/alecchang/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15
  34. at /Users/alecchang/node_modules/snekfetch/src/index.js:215:21
  35. at processTicksAndRejections (internal/process/task_queues.js:93:5)
  36. (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