From 0fc87a141609fe7d6a80931b73f59c872b0bd44f Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 19 Jul 2021 17:42:29 -0400 Subject: change some stuff --- src/commands/info/help.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/commands/info') 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 { 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 -- cgit