mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
delete message after music ends
This commit is contained in:
parent
fc6b112bcd
commit
df091a05d0
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class JaBa extends Client {
|
|||
const m = await queue.textChannel.send(this.translate("music/play:NOW_PLAYING", { songName: song.name }))
|
||||
setTimeout(() => {
|
||||
m.delete();
|
||||
}, 5000);
|
||||
}, song.duration * 1000);
|
||||
})
|
||||
.on("addSong", (queue, song) => queue.textChannel.send(this.translate("music/play:ADDED_QUEUE", { songName: song.name })))
|
||||
.on("addList", (queue, playlist) => queue.textChannel.send(this.translate("music/play:ADDED_QUEUE_COUNT", { songCount: playlist.songs.length })))
|
||||
|
|
Loading…
Reference in a new issue