Closed discorbbotter closed 1 year ago
same error..
Are you sure you entered the correct token in config.js?
make sure your token is new and has not been regenerated by accident! also make sure your token is inside the ''
please also make sure your token valid
C:\Users\Sunny and Aashritha\Downloads\Music-bot-master\Music-bot-master\node_modules\discord.js\src\client\websocket\WebSocketManager.js:129 const invalidToken = new Error(WSCodes[4004]); ^
Error [TOKEN_INVALID]: An invalid token was provided. at WebSocketManager.connect (C:\Users\Sunny and Aashritha\Downloads\Music-bot-master\Music-bot-master\node_modules\discord.js\src\client\websocket\WebSocketManager.js:129:26) at Client.login (C:\Users\Sunny and Aashritha\Downloads\Music-bot-master\Music-bot-master\node_modules\discord.js\src\client\Client.js:254:21) at Object. (C:\Users\Sunny and Aashritha\Downloads\Music-bot-master\Music-bot-master\main.js:21:8)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:827:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {