mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-26 07:04:58 +05:00
delete queue message after timeout
This commit is contained in:
parent
62723c6c71
commit
64f8302ee7
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ class Queue extends Command {
|
||||||
.setAuthorizedUsers([message.author.id])
|
.setAuthorizedUsers([message.author.id])
|
||||||
.setChannel(message.channel)
|
.setChannel(message.channel)
|
||||||
.setElementsPerPage(5)
|
.setElementsPerPage(5)
|
||||||
|
.setDeleteOnTimeout(true)
|
||||||
.setPageIndicator(true)
|
.setPageIndicator(true)
|
||||||
.formatField("Очередь", (track) => `[${track.name}](${track.url})\n*Добавил ${track.member}*\n`);
|
.formatField("Очередь", (track) => `[${track.name}](${track.url})\n*Добавил ${track.member}*\n`);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue