My ".p [Music]" command isn't working correctly

Hi there, thanks for taking your time in helping me. So basically, I have an Discord.js 14 Bot, wich can play music via the Command "/music play [Music]". And It can also play this music with ".p [Music]". Although I have coded the ".p [Music]" myself and have located it in the bot.js File of the Main source, because I dont know where I should put it. Now the problem is, that everytime I try to play Music with ".p [Music]" it searches 4-5 times and I can't find out why... Here is my Code: https://pastecode.io/s/x42nfpxc
2 Replies
d.js toolkit
d.js toolkit14mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Felitendo
FelitendoOP14mo ago
Okay, give me a second This is my bot.js File: https://pastecode.io/s/m5j87qd5 @Qjuh Have you found out anything?
Want results from more Discord servers?
Add your server