diff options
Diffstat (limited to 'src/commands/info/links.ts')
-rw-r--r-- | src/commands/info/links.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/info/links.ts b/src/commands/info/links.ts index a7ff30e..41e5c4d 100644 --- a/src/commands/info/links.ts +++ b/src/commands/info/links.ts @@ -21,11 +21,11 @@ export default class LinksCommand extends BushCommand { public override async exec(message: CommandMessage | SlashMessage) { const buttonRow = new ActionRowBuilder<ButtonBuilder>(); - if (!client.config.isDevelopment || message.author.isOwner()) { + if (!this.client.config.isDevelopment || message.author.isOwner()) { buttonRow.addComponents([new ButtonBuilder({ style: ButtonStyle.Link, label: 'Invite Me', url: invite(this.client) })]); } buttonRow.addComponents([ - new ButtonBuilder({ style: ButtonStyle.Link, label: 'Support Server', url: client.config.supportGuild.invite }), + new ButtonBuilder({ style: ButtonStyle.Link, label: 'Support Server', url: this.client.config.supportGuild.invite }), new ButtonBuilder({ style: ButtonStyle.Link, label: 'GitHub', url: packageDotJSON.repository }) ]); return await message.util.reply({ content: 'Here are some useful links:', components: [buttonRow] }); |