aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info')
-rw-r--r--src/commands/info/help.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts
index e485d24..1786f8c 100644
--- a/src/commands/info/help.ts
+++ b/src/commands/info/help.ts
@@ -48,7 +48,7 @@ export default class HelpCommand extends BushCommand {
): Promise<unknown> {
const prefix = this.client.config.isDevelopment ? 'dev ' : message.util.parsed.prefix;
const components =
- !this.client.config.isDevelopment || !this.client.guilds.cache.some((guild) => guild.ownerId === message.author.id)
+ !this.client.config.isDevelopment && !this.client.guilds.cache.some((guild) => guild.ownerId === message.author.id)
? [
new MessageActionRow().addComponents(
new MessageButton({
@@ -60,6 +60,10 @@ export default class HelpCommand extends BushCommand {
]
: undefined;
+ this.client.console.debug(!this.client.config.isDevelopment);
+ this.client.console.debug(!this.client.guilds.cache.some((guild) => guild.ownerId === message.author.id));
+ this.client.console.debug(components);
+
const isOwner = this.client.isOwner(message.author);
const isSuperUser = this.client.isSuperUser(message.author);
const command = args.command