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