From 877537043dd2a8ba16037f061716d9c6f7a5764a Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 27 Oct 2021 16:57:39 -0400 Subject: change printWidth to 130 and update dependecies --- src/commands/dev/test.ts | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'src/commands/dev') diff --git a/src/commands/dev/test.ts b/src/commands/dev/test.ts index e3aa20d..8ea57f9 100644 --- a/src/commands/dev/test.ts +++ b/src/commands/dev/test.ts @@ -75,7 +75,11 @@ export default class TestCommand extends BushCommand { .setTitle('Title'); const buttonRow = new MessageActionRow().addComponents( - new MessageButton({ style: jsConstants.MessageButtonStyles.LINK, label: 'Link', url: 'https://www.google.com/' }) + new MessageButton({ + style: jsConstants.MessageButtonStyles.LINK, + label: 'Link', + url: 'https://www.google.com/' + }) ); return await message.util.reply({ content: 'Test', embeds: [embed], components: [buttonRow] }); } else if (['lots of buttons'].includes(args?.feature?.toLowerCase())) { @@ -84,7 +88,11 @@ export default class TestCommand extends BushCommand { const row = new MessageActionRow(); for (let b = 1; b <= 5; b++) { const id = (a + 5 * (b - 1)).toString(); - const button = new MessageButton({ style: jsConstants.MessageButtonStyles.SECONDARY, customId: id, label: id }); + const button = new MessageButton({ + style: jsConstants.MessageButtonStyles.SECONDARY, + customId: id, + label: id + }); row.addComponents(button); } ButtonRows.push(row); @@ -126,7 +134,11 @@ export default class TestCommand extends BushCommand { const row = new MessageActionRow(); for (let b = 1; b <= 5; b++) { const id = (a + 5 * (b - 1)).toString(); - const button = new MessageButton({ style: jsConstants.MessageButtonStyles.SECONDARY, customId: id, label: id }); + const button = new MessageButton({ + style: jsConstants.MessageButtonStyles.SECONDARY, + customId: id, + label: id + }); row.addComponents(button); } ButtonRows.push(row); -- cgit