mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
Без реакций в ЛС
This commit is contained in:
parent
f5091f6d67
commit
2d58660e0f
1 changed files with 59 additions and 57 deletions
|
@ -18,7 +18,7 @@ class ServersList extends Command {
|
|||
}
|
||||
|
||||
async run(message, args, data) {
|
||||
if (message.channel.type !== "DM") message.delete();
|
||||
if (message.deletable) message.delete();
|
||||
|
||||
let i0 = 0,
|
||||
i1 = 10,
|
||||
|
@ -50,6 +50,7 @@ class ServersList extends Command {
|
|||
embeds: [embed]
|
||||
});
|
||||
|
||||
if (message.channel.type !== "DM") {
|
||||
await msg.react("⬅");
|
||||
await msg.react("➡");
|
||||
await msg.react("❌");
|
||||
|
@ -122,5 +123,6 @@ class ServersList extends Command {
|
|||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ServersList;
|
Loading…
Reference in a new issue