mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-24 22:24:58 +05:00
fix loop
This commit is contained in:
parent
8afc01f648
commit
d47b3bf479
1 changed files with 1 additions and 2 deletions
|
@ -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] });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue