From 192480cdbd4ce6c7467d9be6fd06364322004f4c Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Thu, 13 Oct 2022 00:10:08 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/General/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/General/help.js b/commands/General/help.js index d6726fa4..17b6b66a 100644 --- a/commands/General/help.js +++ b/commands/General/help.js @@ -50,7 +50,7 @@ class Help extends BaseCommand { commands.forEach(c => { if (!categories.includes(c.category)) { - if (c.category === "Owner" && interaction.member.id !== client.config.owner.id) return; + if (c.category === "Owner" && interaction.user.id !== client.config.owner.id) return; categories.push(c.category); } });