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.92k stars 2.84k forks source link

query not found #1279

Closed iakzs closed 5 months ago

iakzs commented 5 months ago

I didn't touch the code and i got:

 TypeError [COMMAND_INTERACTION_OPTION_NOT_FOUND]: Required option "query" not found.
     at CommandInteractionOptionResolver.get (/home/h/f/Discord-MusicBot/node_modules/discord.js/src/structures/CommandInteractionOptionResolver.js:77:15)
     at CommandInteractionOptionResolver._getTypedOption (/home/h/f/Discord-MusicBot/node_modules/discord.js/src/structures/CommandInteractionOptionResolver.js:94:25)
     at CommandInteractionOptionResolver.getString (/home/h/f/Discord-MusicBot/node_modules/discord.js/src/structures/CommandInteractionOptionResolver.js:159:25)
     at SlashCommand.run (/home/h/f/Discord-MusicBot/commands/slash/play.js:57:25)
     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
   [Symbol(code)]: 'COMMAND_INTERACTION_OPTION_NOT_FOUND'
 }
iakzs commented 5 months ago

nvm i found the error my bad