aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/help.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info/help.ts')
-rw-r--r--src/commands/info/help.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts
index a0b03a0..e485d24 100644
--- a/src/commands/info/help.ts
+++ b/src/commands/info/help.ts
@@ -46,9 +46,9 @@ export default class HelpCommand extends BushCommand {
message: BushMessage | BushSlashMessage,
args: { command: BushCommand | string; showHidden?: boolean }
): Promise<unknown> {
- const prefix = this.client.config.dev ? 'dev ' : message.util.parsed.prefix;
+ const prefix = this.client.config.isDevelopment ? 'dev ' : message.util.parsed.prefix;
const components =
- !this.client.config.dev || !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({