From d47b3bf479195aae11fd8fd1f3e8a5fe80171d06 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sat, 4 Nov 2023 23:37:20 +0500 Subject: [PATCH] fix loop --- commands/Music/loop.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/Music/loop.js b/commands/Music/loop.js index 38957fca..31599a8a 100644 --- a/commands/Music/loop.js +++ b/commands/Music/loop.js @@ -63,7 +63,6 @@ class Loop extends BaseCommand { "QUEUE": interaction.translate("music/loop:QUEUE_ENABLED"), "TRACK": interaction.translate("music/loop:TRACK_ENABLED"), "OFF": interaction.translate("music/loop:LOOP_DISABLED"), - "0": interaction.translate("music/loop:LOOP_DISABLED"), }; const type = interaction.options.getString("option"), @@ -71,7 +70,7 @@ class Loop extends BaseCommand { queue.setRepeatMode(mode); - interaction.reply({ content: translated[type] }); + interaction.reply({ content: translated[mode] }); } }