From 2d98372832a5d44ca48418a451cae385d4e3f1b6 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Fri, 11 Feb 2022 11:06:48 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B=D0=B5=20=D0=B0=D1=80=D0=B3?= =?UTF-8?q?=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D1=8B=20=D0=B4=D0=BB=D1=8F=20loo?= =?UTF-8?q?p?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Music/loop.js | 4 ++-- languages/ru-RU/music/loop.json | 4 ++-- languages/uk-UA/music/loop.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/commands/Music/loop.js b/commands/Music/loop.js index 57c174c2..05a19d7a 100644 --- a/commands/Music/loop.js +++ b/commands/Music/loop.js @@ -25,9 +25,9 @@ class Loop extends Command { const type = args[0]; let mode = null; - if (type === "queue") { + if (type === "queue" || type === "all") { mode = this.client.player.setRepeatMode(message, 2); - } else if (type === "song") { + } else if (type === "song" || type === "single") { mode = this.client.player.setRepeatMode(message, 1); } else { mode = this.client.player.setRepeatMode(message, 0); diff --git a/languages/ru-RU/music/loop.json b/languages/ru-RU/music/loop.json index 187eed7d..c8092713 100644 --- a/languages/ru-RU/music/loop.json +++ b/languages/ru-RU/music/loop.json @@ -1,7 +1,7 @@ { "DESCRIPTION": "Включить или отключить повтор очереди/одного трека!", - "USAGE": "{{prefix}}loop (song/queue)", - "EXAMPLES": "{{prefix}}loop queue\n{{prefix}}loop", + "USAGE": "{{prefix}}loop (queue/all/song/single)", + "EXAMPLES": "{{prefix}}loop queue\n{{prefix}}loop single", "QUEUE": "Повтор очереди **включён**!", "SONG": "Повтор текущего трека **включён**!", "DISABLED": "Повтор **отключён**!" diff --git a/languages/uk-UA/music/loop.json b/languages/uk-UA/music/loop.json index 187eed7d..c8092713 100644 --- a/languages/uk-UA/music/loop.json +++ b/languages/uk-UA/music/loop.json @@ -1,7 +1,7 @@ { "DESCRIPTION": "Включить или отключить повтор очереди/одного трека!", - "USAGE": "{{prefix}}loop (song/queue)", - "EXAMPLES": "{{prefix}}loop queue\n{{prefix}}loop", + "USAGE": "{{prefix}}loop (queue/all/song/single)", + "EXAMPLES": "{{prefix}}loop queue\n{{prefix}}loop single", "QUEUE": "Повтор очереди **включён**!", "SONG": "Повтор текущего трека **включён**!", "DISABLED": "Повтор **отключён**!"