aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/links.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info/links.ts')
-rw-r--r--src/commands/info/links.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/info/links.ts b/src/commands/info/links.ts
index 23aa411..3671c6c 100644
--- a/src/commands/info/links.ts
+++ b/src/commands/info/links.ts
@@ -22,12 +22,12 @@ export default class LinksCommand extends BushCommand {
public override async exec(message: CommandMessage | SlashMessage) {
const buttonRow = new ActionRowBuilder<ButtonBuilder>();
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: 'Invite Me', url: invite(this.client) }));
}
- buttonRow.addComponents([
+ buttonRow.addComponents(
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] });
}
}