mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +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) => {
|
||||
if (reaction._emoji.name === "⬅") {
|
||||
if (reaction._emoji.name === "⬅" && !message.channel.type !== "DM") {
|
||||
// Updates variables
|
||||
i0 = i0 - 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
|
||||
i0 = i0 + 10;
|
||||
i1 = i1 + 10;
|
||||
|
|
Loading…
Reference in a new issue