diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-22 19:14:44 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-22 19:14:44 -0500 |
commit | e2807842b0cd62dcc00db1dd63c59daad15803f7 (patch) | |
tree | 41ee6a71f243629a8c44497b0b48c28df62eeddc /src/commands/dev | |
parent | 717b924d6c4727c75639f4d495e8521f7eae9849 (diff) | |
download | tanzanite-e2807842b0cd62dcc00db1dd63c59daad15803f7.tar.gz tanzanite-e2807842b0cd62dcc00db1dd63c59daad15803f7.tar.bz2 tanzanite-e2807842b0cd62dcc00db1dd63c59daad15803f7.zip |
use new setAuthor overload
Diffstat (limited to 'src/commands/dev')
-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 5120a34..83dd592 100644 --- a/src/commands/dev/test.ts +++ b/src/commands/dev/test.ts @@ -62,7 +62,7 @@ export default class TestCommand extends BushCommand { } else if (['embed', 'button embed'].includes(args?.feature?.toLowerCase())) { const embed = new MessageEmbed() .addField('Field Name', 'Field Content') - .setAuthor('Author', 'https://www.w3schools.com/w3css/img_snowtops.jpg', 'https://google.com/') + .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') .setFooter('Footer', message.author.avatarURL() ?? undefined) |