Advertisement
Guest User

code returning this error

a guest
Nov 26th, 2018
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. (node:14140) DeprecationWarning: Collection#find: pass a function instead
  2. (node:14140) UnhandledPromiseRejectionWarning: DiscordAPIError: Unknown Channel
  3. at item.request.gen.end (C:\Users\david\Desktop\THE ALL IN ONE DISCORD BOT\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:79:15)
  4. at then (C:\Users\david\Desktop\THE ALL IN ONE DISCORD BOT\node_modules\snekfetch\src\index.js:215:21)
  5. at process._tickCallback (internal/process/next_tick.js:68:7)
  6. (node:14140) 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)
  7. (node:14140) [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.
  8. (node:14140) UnhandledPromiseRejectionWarning: DiscordAPIError: Unknown Channel
  9. at item.request.gen.end (C:\Users\david\Desktop\THE ALL IN ONE DISCORD BOT\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:79:15)
  10. at then (C:\Users\david\Desktop\THE ALL IN ONE DISCORD BOT\node_modules\snekfetch\src\index.js:215:21)
  11. at process._tickCallback (internal/process/next_tick.js:68:7)
  12. (node:14140) 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement