mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
Фикс фикса
This commit is contained in:
parent
ceff32f974
commit
75e31dc6da
1 changed files with 2 additions and 2 deletions
|
@ -75,9 +75,9 @@ class Loop extends BaseCommand {
|
|||
});
|
||||
|
||||
collector.on("collect", async i => {
|
||||
const type = QueueRepeatMode[msg?.values[0]];
|
||||
const type = QueueRepeatMode[i?.values[0]];
|
||||
queue.setRepeatMode(type);
|
||||
i.update({
|
||||
return i.update({
|
||||
content: interaction.translate(`music/loop:${type === QueueRepeatMode.AUTOPLAY ? "AUTOPLAY_ENABLED" :
|
||||
type === QueueRepeatMode.QUEUE ? "QUEUE_ENABLED" : type === QueueRepeatMode.TRACK ? "TRACK_ENABLED" : "LOOP_DISABLED"}`),
|
||||
components: []
|
||||
|
|
Loading…
Reference in a new issue