diff options
Diffstat (limited to 'src/commands/info/links.ts')
-rw-r--r-- | src/commands/info/links.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/commands/info/links.ts b/src/commands/info/links.ts index d9d5b8a..25b040c 100644 --- a/src/commands/info/links.ts +++ b/src/commands/info/links.ts @@ -22,13 +22,10 @@ export default class LinksCommand extends BushCommand { public override async exec(message: BushMessage | BushSlashMessage) { const buttonRow = new ActionRow(); if (!client.config.isDevelopment || message.author.isOwner()) { - // @ts-expect-error: outdated @discord.js/builders buttonRow.addComponents(new ButtonComponent().setStyle(ButtonStyle.Link).setLabel('Invite Me').setURL(util.invite)); } buttonRow.addComponents( - // @ts-expect-error: outdated @discord.js/builders new ButtonComponent().setStyle(ButtonStyle.Link).setLabel('Support Server').setURL(client.config.supportGuild.invite), - // @ts-expect-error: outdated @discord.js/builders new ButtonComponent().setStyle(ButtonStyle.Link).setLabel('GitHub').setURL(packageDotJSON.repository) ); return await message.util.reply({ content: 'Here are some useful links:', components: [buttonRow] }); |