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/moulberry-bush | |
| parent | 717b924d6c4727c75639f4d495e8521f7eae9849 (diff) | |
| download | tanzanite-e2807842b0cd62dcc00db1dd63c59daad15803f7.tar.gz tanzanite-e2807842b0cd62dcc00db1dd63c59daad15803f7.tar.bz2 tanzanite-e2807842b0cd62dcc00db1dd63c59daad15803f7.zip | |
use new setAuthor overload
Diffstat (limited to 'src/commands/moulberry-bush')
| -rw-r--r-- | src/commands/moulberry-bush/report.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commands/moulberry-bush/report.ts b/src/commands/moulberry-bush/report.ts index 2888051..d5e9731 100644 --- a/src/commands/moulberry-bush/report.ts +++ b/src/commands/moulberry-bush/report.ts @@ -79,7 +79,10 @@ export default class ReportCommand extends BushCommand { const reportEmbed = new MessageEmbed() .setFooter(`Reporter ID: ${message.author.id} Reported ID: ${member.user.id}`) .setTimestamp() - .setAuthor(`Report From: ${message.author.tag}`, message.author.avatarURL({ dynamic: true }) ?? undefined) + .setAuthor({ + name: `Report From: ${message.author.tag}`, + iconURL: message.author.avatarURL({ dynamic: true }) ?? undefined + }) .setTitle('New Report') .setColor(util.colors.red) .setDescription(evidence) |
