I have a question. Why doesn't my bot turn on music if there are no errors and it is connected?

const player = createAudioPlayer();
const resource = createAudioResource('/root/Alesha_test/src/music/Розовый фламинго.mp3', { inlineVolume: true });
resource.volume.setVolume(0.5);
player.play(resource);
connection.subscribe(player);
const player = createAudioPlayer();
const resource = createAudioResource('/root/Alesha_test/src/music/Розовый фламинго.mp3', { inlineVolume: true });
resource.volume.setVolume(0.5);
player.play(resource);
connection.subscribe(player);
8 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Unjin
UnjinOP2y ago
Unjin
UnjinOP2y ago
can anyone help me?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Unjin
UnjinOP2y ago
all the same
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
ShompiFlen
ShompiFlen2y ago
what are your other dependencies show your package.json
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server