From 45a5f6b2e87dc1f1cc2cf421492407a679f9d4eb Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Fri, 9 Sep 2022 18:27:03 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BA=D1=83=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Music/play.js | 5 ++++- getcookie.js | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 getcookie.js diff --git a/commands/Music/play.js b/commands/Music/play.js index 408adcc7..526f1994 100644 --- a/commands/Music/play.js +++ b/commands/Music/play.js @@ -217,9 +217,12 @@ class Play extends BaseCommand { }); }); - return interaction.editReply({ + interaction.editReply({ components: [row1, row2, row3] }); + + collector.end(); + return; } } }); diff --git a/getcookie.js b/getcookie.js new file mode 100644 index 00000000..026e6811 --- /dev/null +++ b/getcookie.js @@ -0,0 +1 @@ +require("play-dl").authorization(); \ No newline at end of file