Advertisement
Guest User

Untitled

a guest
Apr 7th, 2019
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. PS C:\Users\Babbe\Desktop\Projects\Discord Bot> node .
  2. Bot is running...
  3. set
  4. (node:7132) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
  5. at setInterval (timers.js:479:11)
  6. at Client.client.on (C:\Users\Babbe\Desktop\Projects\Discord Bot\index.js:26:3)
  7. at process._tickCallback (internal/process/next_tick.js:68:7)
  8. (node:7132) 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)
  9. (node:7132) [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.
  10.  
  11. ******NOT CODE******
  12. The bot doesn't need to go through multiple servers as it's only going to be used on my guild. don't know if that changes much but thought it best that you know. Also, that's a pretty good idea if it was to be a proper bot :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement