diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-27 16:57:39 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-27 16:57:39 -0400 |
commit | 877537043dd2a8ba16037f061716d9c6f7a5764a (patch) | |
tree | 9e9fd2c69b415d2f548e97d0d6abbf3bc8a314a8 /src/commands/dev | |
parent | a1ab06dcfccef90192b90910aecdddbc505eca00 (diff) | |
download | tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.gz tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.bz2 tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.zip |
change printWidth to 130 and update dependecies
Diffstat (limited to 'src/commands/dev')
-rw-r--r-- | src/commands/dev/test.ts | 18 |
1 files changed, 15 insertions, 3 deletions
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); |