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/utilities | |
| parent | 717b924d6c4727c75639f4d495e8521f7eae9849 (diff) | |
| download | tanzanite-e2807842b0cd62dcc00db1dd63c59daad15803f7.tar.gz tanzanite-e2807842b0cd62dcc00db1dd63c59daad15803f7.tar.bz2 tanzanite-e2807842b0cd62dcc00db1dd63c59daad15803f7.zip | |
use new setAuthor overload
Diffstat (limited to 'src/commands/utilities')
| -rw-r--r-- | src/commands/utilities/suicide.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/commands/utilities/suicide.ts b/src/commands/utilities/suicide.ts index beb7309..359f914 100644 --- a/src/commands/utilities/suicide.ts +++ b/src/commands/utilities/suicide.ts @@ -23,10 +23,11 @@ export default class TemplateCommand extends BushCommand { const suicideEmbed = new MessageEmbed() .setTitle('Mental Health Resources') .setColor(util.colors.red) - .setAuthor( - 'Remember, You Matter <3', - 'https://media.discordapp.net/attachments/770256340639416320/854689949193076737/Medical_31-60_974.jpg?width=523&height=523' - ) + .setAuthor({ + name: 'Remember, You Matter <3', + iconURL: + 'https://media.discordapp.net/attachments/770256340639416320/854689949193076737/Medical_31-60_974.jpg?width=523&height=523' + }) .addField( '**National Suicide Prevention Hotline (U.S.):**', [ |
