aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/invite.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info/invite.ts')
-rw-r--r--src/commands/info/invite.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/info/invite.ts b/src/commands/info/invite.ts
index f53e930..923c54a 100644
--- a/src/commands/info/invite.ts
+++ b/src/commands/info/invite.ts
@@ -19,7 +19,7 @@ export default class InviteCommand extends BushCommand {
}
public async exec(message: BushMessage | BushSlashMessage): Promise<unknown> {
- if (this.client.config.dev)
+ if (this.client.config.isDevelopment)
return await message.util.reply(`${this.client.util.emojis.error} The dev bot cannot be invited.`);
const ButtonRow = new MessageActionRow().addComponents(
new MessageButton({