Advertisement
yesindeedmcasdasd

Untitled

Nov 15th, 2020
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. C:\Users\raulm\OneDrive\Desktop\Raul bot\Raul-bot>npm run dev
  2.  
  3. > Raul-bot@1.0.0 dev
  4. > nodemon ./src/bot.js
  5.  
  6. [nodemon] 2.0.6
  7. [nodemon] to restart at any time, enter `rs`
  8. [nodemon] watching path(s): *.*
  9. [nodemon] watching extensions: js,mjs,json
  10. [nodemon] starting `node ./src/bot.js`
  11. C:\Users\raulm\OneDrive\Desktop\Raul bot\Raul-bot\node_modules\discord.js\src\rest\RequestHandler.js:93
  12. throw new HTTPError(error.message, error.constructor.name, error.status, request.method, request.path);
  13. ^
  14.  
  15. HTTPError [TypeError]: Bot  is not a legal HTTP header value
  16. at RequestHandler.execute (C:\Users\raulm\OneDrive\Desktop\Raul bot\Raul-bot\node_modules\discord.js\src\rest\RequestHandler.js:93:15)
  17. at async RequestHandler.push (C:\Users\raulm\OneDrive\Desktop\Raul bot\Raul-bot\node_modules\discord.js\src\rest\RequestHandler.js:39:14)
  18. at async WebSocketManager.connect (C:\Users\raulm\OneDrive\Desktop\Raul bot\Raul-bot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:138:9)
  19. at async Client.login (C:\Users\raulm\OneDrive\Desktop\Raul bot\Raul-bot\node_modules\discord.js\src\client\Client.js:222:7)
  20. at async C:\Users\raulm\OneDrive\Desktop\Raul bot\Raul-bot\src\bot.js:12:3 {
  21. code: 500,
  22. method: 'get',
  23. path: '/gateway/bot'
  24. }
  25. [nodemon] app crashed - waiting for file changes before starting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement