SamDizzle
DIAdiscord.js - Imagine an app
•Created by SamDizzle on 7/18/2023 in #djs-voice
Spotify music bot not playing audio
Hey everyone,
So after realizing both the youtube aspect and soundcloud aspect of a music bot is against TOS, i'v removed both parts of my code. But i've still not resolved the issue of it not playing audio at all.
Everything seems to be working, 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, so it gets the song just fine but doesn't start playing audio.
Also in the console i get the message that the audio playback has started even though it hasn't
Here is a link to my code: https://pastebin.com/6K8H5WP9
There's a high probability that i did something wrong or forgot something, but i have no clue what.
Anyways, any help would be greatly appreciated!
6 replies
DIAdiscord.js - Imagine an app
•Created by SamDizzle on 7/15/2023 in #djs-questions
Discord bot not playing audio
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 but the bot it doesn't start playing audio when coming into the voice channel. I get no error messages 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 code: https://pastebin.com/Z0WaFsUQ
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!
6 replies