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.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/commands/info/invite.ts b/src/commands/info/invite.ts
index 1f65cdc..a2128b3 100644
--- a/src/commands/info/invite.ts
+++ b/src/commands/info/invite.ts
@@ -19,13 +19,12 @@ export default class InviteCommand extends BushCommand {
}
public async exec(message: BushMessage | BushSlashMessage): Promise<unknown> {
- if (this.client.config.isDevelopment)
- return await message.util.reply(`${util.emojis.error} The dev bot cannot be invited.`);
+ if (client.config.isDevelopment) return await message.util.reply(`${util.emojis.error} The dev bot cannot be invited.`);
const ButtonRow = new MessageActionRow().addComponents(
new MessageButton({
style: 'LINK',
label: 'Invite Me',
- url: `https://discord.com/api/oauth2/authorize?client_id=${this.client.user.id}&permissions=2147483647&scope=bot%20applications.commands`
+ url: `https://discord.com/api/oauth2/authorize?client_id=${client.user.id}&permissions=2147483647&scope=bot%20applications.commands`
})
);
return await message.util.reply({ content: 'You can invite me here:', components: [ButtonRow] });