Replies: 6 comments
-
bro you can just use var msg = await message.channel.send('started playing song')
setTimeout( async () => {
if (msg && !msg.deleted) return msg.delete()
}, track.durationMS) |
Beta Was this translation helpful? Give feedback.
-
What if someone pause for some time |
Beta Was this translation helpful? Give feedback.
-
then i would just do `client.player.emit('trackEnd', async (client, message, msg_to_delete) => { |
Beta Was this translation helpful? Give feedback.
-
when a track ends [either by error or skipping (even in pause)], either
|
Beta Was this translation helpful? Give feedback.
-
But when a track start for the first time , trackStart event also emitted |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
It's not a discord-player problem, but mine. I'm using reaction controls , so whenever a track ends I've to delete the old play message. But there is not track end event, i can make detect when a track ends. Please please add a trackEnd event
Describe the solution you'd like
Describe #alternatives you've considered
Add a trackEnd event, whenever a track ends or skipped, jumped it'll be emitted
Additional context
Beta Was this translation helpful? Give feedback.
All reactions