Play command
I was making a play command
But sometimes it joins the channel and says 'Song is playing' but does not play anything
Sometimes it does not join the channel only and says 'Song is playing'
It does not log any error also
4 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
The bot saying Song is Playing does not represent anything here because you are not doing enough checks. You should check if the connection enters the ready state so you are sure its ready to transmit audio. Then your intents, do you have the GuildVoiceStates intent enabled?
omg i am so dumb I did not have intents on
thanks
should I also add a connection listener
maybe for good measure but as long as the connection enter the ready state there shouldnt be a problem