diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-03 23:45:16 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-03 23:45:16 -0500 |
commit | 3c56bbcf795725b65192409b3211d92c097f8c82 (patch) | |
tree | 472dafca0224e61aeaffcf59ea176c534b8c3930 /src/commands/dev/test.ts | |
parent | 2e02220de1d1de24375db11f22b4c6626c930a28 (diff) | |
download | tanzanite-3c56bbcf795725b65192409b3211d92c097f8c82.tar.gz tanzanite-3c56bbcf795725b65192409b3211d92c097f8c82.tar.bz2 tanzanite-3c56bbcf795725b65192409b3211d92c097f8c82.zip |
refactor: preemptively switch addField to addFields
Diffstat (limited to 'src/commands/dev/test.ts')
-rw-r--r-- | src/commands/dev/test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/dev/test.ts b/src/commands/dev/test.ts index 8c76ded..cca40a6 100644 --- a/src/commands/dev/test.ts +++ b/src/commands/dev/test.ts @@ -63,7 +63,7 @@ export default class TestCommand extends BushCommand { return await message.util.reply({ content: 'buttons', components: [ButtonRow] }); } else if (['embed', 'button embed'].includes(args?.feature?.toLowerCase())) { const embed = new Embed() - .addField({ name: 'Field Name', value: 'Field Content' }) + .addFields({ name: 'Field Name', value: 'Field Content' }) .setAuthor({ name: 'Author', iconURL: 'https://www.w3schools.com/w3css/img_snowtops.jpg', url: 'https://google.com/' }) .setColor(message.member?.displayColor ?? util.colors.default) .setDescription('Description') |