mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
anoter one
This commit is contained in:
parent
6c0d00d851
commit
63ee1b7d4b
1 changed files with 4 additions and 4 deletions
|
@ -27,18 +27,18 @@ class Loop extends Command {
|
||||||
if (args[0].toLowerCase() === "queue") {
|
if (args[0].toLowerCase() === "queue") {
|
||||||
if (!queue.loopMode) {
|
if (!queue.loopMode) {
|
||||||
this.client.player.setLoopMode(message, true);
|
this.client.player.setLoopMode(message, true);
|
||||||
message.success("music:/loop:QUEUE", { loop: "включён" });
|
message.success("music/loop:QUEUE", { loop: "включён" });
|
||||||
} else {
|
} else {
|
||||||
this.client.player.setLoopMode(message, false);
|
this.client.player.setLoopMode(message, false);
|
||||||
message.success("music:/loop:QUEUE", { loop: "отключён" });
|
message.success("music/loop:QUEUE", { loop: "отключён" });
|
||||||
};
|
};
|
||||||
} else if (args[0].toLowerCase() === "song") {
|
} else if (args[0].toLowerCase() === "song") {
|
||||||
if (!queue.repeatMode) {
|
if (!queue.repeatMode) {
|
||||||
this.client.player.setRepeatMode(message, true);
|
this.client.player.setRepeatMode(message, true);
|
||||||
message.success("music:/loop:QUEUE", { loop: "включён" });
|
message.success("music/loop:QUEUE", { loop: "включён" });
|
||||||
} else if (args[1].toLowerCase() == "off") {
|
} else if (args[1].toLowerCase() == "off") {
|
||||||
this.client.player.setRepeatMode(message, false);
|
this.client.player.setRepeatMode(message, false);
|
||||||
message.success("music:/loop:QUEUE", { loop: "отключён" });
|
message.success("music/loop:QUEUE", { loop: "отключён" });
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue