mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 22:55:00 +05:00
Ещё фиксы
This commit is contained in:
parent
2436879e67
commit
4773ecfe1f
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ class ServersList extends Command {
|
||||||
});
|
});
|
||||||
|
|
||||||
collector.on("collect", async (reaction) => {
|
collector.on("collect", async (reaction) => {
|
||||||
if (reaction._emoji.name === "⬅") {
|
if (reaction._emoji.name === "⬅" && !message.channel.type !== "DM") {
|
||||||
// Updates variables
|
// Updates variables
|
||||||
i0 = i0 - 10;
|
i0 = i0 - 10;
|
||||||
i1 = i1 - 10;
|
i1 = i1 - 10;
|
||||||
|
@ -87,7 +87,7 @@ class ServersList extends Command {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
if (reaction._emoji.name === "➡") {
|
if (reaction._emoji.name === "➡" && !message.channel.type !== "DM") {
|
||||||
// Updates variables
|
// Updates variables
|
||||||
i0 = i0 + 10;
|
i0 = i0 + 10;
|
||||||
i1 = i1 + 10;
|
i1 = i1 + 10;
|
||||||
|
|
Loading…
Reference in a new issue