From e115b14c5fa2232b9c0665e6de4bfa229839e17e Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 20 Feb 2022 16:49:42 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D0=B8=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Owner/servers-list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/Owner/servers-list.js b/commands/Owner/servers-list.js index f17d3c1c..5a6a7701 100644 --- a/commands/Owner/servers-list.js +++ b/commands/Owner/servers-list.js @@ -18,8 +18,6 @@ class ServersList extends Command { } async run(message, args, data) { - if (message.deletable) message.delete(); - let i0 = 0, i1 = 10, page = 1; @@ -50,6 +48,8 @@ class ServersList extends Command { embeds: [embed] }); + if (message.deletable) message.delete(); + if (message.channel.type !== "DM") { await msg.react("⬅"); await msg.react("➡");