help on finish

is here any event when player finish?? i want to stop player after of finish
5 Replies
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Jiron
Jiron•3y ago
Check the last three lines (13-15)
Jiron
Jiron•3y ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Jiron
Jiron•3y ago
player.on(AudioPlayerStatus.Idle, () => { // Your code here }); AudioPlayerStatus is a tiny class filled with audio events, one of them being "Idle", which basically can be translated to "not playing". And AudioPlayerStatus.Playing fires once it starts playing as it often takes a little time to actually start playing. I think those are the most important ones
Jiron
Jiron•3y ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.

Did you find this page helpful?