Discord.js bot not playing audio #9714
-
Hey everyone, i just created my first discord music bot (or did my best attempt since i'm very new to discord.js or javascript in general.) Everything seems to be working, i think i've updated everything to work with discord.js v14 but the bot it doesn't start playing audio when coming into the voice channel. I get no errors or anything. It joins, shows the embed of the current song playing but doesn't start playing audio. Also the buttons don't work as they just say that the interaction failed. But honestly i can live with that. I just want the audio to start playing lol. Here is a link to my updated code without YouTube functionality since it's against TOS: https://pastebin.com/DQj2Y2n4 There's a high probability that i did something wrong or forgot something, but i have no clue what. Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
You should have a solid understanding of JavaScript before you start with discord.js, as for your code, what you're doing seems to be against YouTube TOS and by proxy Discord Developer TOS so I don't think you'd get much support with that. As for other things, I'd recommend joining the discord.js Discord server and asking there for a faster response. |
Beta Was this translation helpful? Give feedback.
-
Resolved in Discord.1 Footnotes |
Beta Was this translation helpful? Give feedback.
Resolved in Discord.1
Footnotes
https://discord.com/channels/222078108977594368/1130903727839121408 ↩