SudhanPlayz / Discord-MusicBot

An advanced discord music bot, supports Spotify, Soundcloud, YouTube with Shuffling, Volume Control and Web Dashboard with Slash Commands support!
https://musicbot.darrenofficial.com
Other
2.99k stars 2.9k forks source link

bug #199

Closed coco66688 closed 3 years ago

coco66688 commented 3 years ago

(node:63) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'SlashCommand' of undefined at WebSocketManager. (/home/runner/qwertyuiop/structures/DiscordMusicBot.js:104:15) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:63) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:63) [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.

joeyk710 commented 3 years ago

I’ll look into this. Can you be a little more specific on how this error occurred? What did you do with the bot to make this happen? Was it a certain command you tried to execute?

joeyk710 commented 3 years ago

Are you still having this issue? This will be closed soon if there is no response

coco66688 commented 3 years ago

/stop

joeyk710 commented 3 years ago

Use /leave.

SudhanPlayz commented 3 years ago

204