From 64f8302ee71b793c9c0d35ab673644b10559c8e3 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 26 Dec 2021 14:52:36 +0500 Subject: [PATCH] delete queue message after timeout --- commands/Music/queue.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/Music/queue.js b/commands/Music/queue.js index 99bc55e3..e548940e 100644 --- a/commands/Music/queue.js +++ b/commands/Music/queue.js @@ -44,6 +44,7 @@ class Queue extends Command { .setAuthorizedUsers([message.author.id]) .setChannel(message.channel) .setElementsPerPage(5) + .setDeleteOnTimeout(true) .setPageIndicator(true) .formatField("Очередь", (track) => `[${track.name}](${track.url})\n*Добавил ${track.member}*\n`);