Closed AceKiller250 closed 3 years ago
you are missing information inside the dashboard folder there is a settings.json fill that up. https://github.com/Tomato6966/Musicium/blob/4a9be612bec06bf06ebb2dee02569ad326ffdcd3/dashboard/settings.json#L20-L21
Everytime I run the bot I get this issue. Not sure how to fix it.
undefined [antiCrash] :: Uncaught Exception/Catch (MONITOR) TypeError: OAuth2Strategy requires a clientID option at Strategy.OAuth2Strategy (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\passport-oauth2\lib\strategy.js:87:34) at new Strategy (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\passport-discord\lib\strategy.js:49:20) at module.exports (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\dashboard\index.js:35:18) at Client. (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\index.js:136:34)
at Client.emit (node:events:402:35)
at WebSocketManager.triggerClientReady (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\discord.js\src\client\websocket\WebSocketManager.js:378:17)
at WebSocketManager.checkShardsReady (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\discord.js\src\client\websocket\WebSocketManager.js:361:10)
at WebSocketShard. (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\discord.js\src\client\websocket\WebSocketManager.js:183:14)
at WebSocketShard.emit (node:events:390:28)
at WebSocketShard.checkReady (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\discord.js\src\client\websocket\WebSocketShard.js:474:12) uncaughtException
[antiCrash] :: Uncaught Exception/Catch
TypeError: OAuth2Strategy requires a clientID option
at Strategy.OAuth2Strategy (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\passport-oauth2\lib\strategy.js:87:34)
at new Strategy (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\passport-discord\lib\strategy.js:49:20)
at module.exports (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\dashboard\index.js:35:18)
at Client. (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\index.js:136:34)
at Client.emit (node:events:402:35)
at WebSocketManager.triggerClientReady (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\discord.js\src\client\websocket\WebSocketManager.js:378:17)
at WebSocketManager.checkShardsReady (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\discord.js\src\client\websocket\WebSocketManager.js:361:10)
at WebSocketShard. (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\discord.js\src\client\websocket\WebSocketManager.js:183:14)
at WebSocketShard.emit (node:events:390:28)
at WebSocketShard.checkReady (d:\Default Download\Musicium-main (2)\Musical-Ace-V2\node_modules\discord.js\src\client\websocket\WebSocketShard.js:474:12) uncaughtException