From e4ad075722293727bbfc2a6bdb7256997e02ef86 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sat, 18 Dec 2021 18:58:50 +0500 Subject: [PATCH] fix slist --- commands/Owner/servers-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Owner/servers-list.js b/commands/Owner/servers-list.js index 1e41a448..429cd4ae 100644 --- a/commands/Owner/servers-list.js +++ b/commands/Owner/servers-list.js @@ -18,7 +18,7 @@ class ServersList extends Command { } async run (message, args, data) { - await message.delete(); + if (!message.channel.type != "dm") await message.delete(); let i0 = 0; let i1 = 10;