mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
Фикс
This commit is contained in:
parent
7bccb1fe4d
commit
192480cdbd
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class Help extends BaseCommand {
|
||||||
|
|
||||||
commands.forEach(c => {
|
commands.forEach(c => {
|
||||||
if (!categories.includes(c.category)) {
|
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);
|
categories.push(c.category);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue