diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-29 16:17:48 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-29 16:17:48 -0500 |
commit | 4cebaca70939b87c78537c5c3cd099e29e2e4e04 (patch) | |
tree | 3cac2d6948b8398cd1e6cbc4fb040bf4f635a18d /src/commands/utilities/viewRaw.ts | |
parent | fbafd023546315541c12c068b8125ded2b84b733 (diff) | |
download | tanzanite-4cebaca70939b87c78537c5c3cd099e29e2e4e04.tar.gz tanzanite-4cebaca70939b87c78537c5c3cd099e29e2e4e04.tar.bz2 tanzanite-4cebaca70939b87c78537c5c3cd099e29e2e4e04.zip |
use new setFooter overload
Diffstat (limited to 'src/commands/utilities/viewRaw.ts')
-rw-r--r-- | src/commands/utilities/viewRaw.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/commands/utilities/viewRaw.ts b/src/commands/utilities/viewRaw.ts index eeec4d9..b524b3c 100644 --- a/src/commands/utilities/viewRaw.ts +++ b/src/commands/utilities/viewRaw.ts @@ -1,11 +1,11 @@ import { - ArgType, BushCommand, - BushNewsChannel, - BushTextChannel, - OptionalArgType, + type ArgType, type BushMessage, - type BushSlashMessage + type BushNewsChannel, + type BushSlashMessage, + type BushTextChannel, + type OptionalArgType } from '#lib'; import { Message, MessageEmbed, type Snowflake } from 'discord.js'; @@ -96,7 +96,7 @@ export default class ViewRawCommand extends BushCommand { : message.content || '[No Content]'; const lang = options.json ? 'json' : options.js ? 'js' : undefined; return new MessageEmbed() - .setFooter(message.author.tag, message.author.avatarURL({ dynamic: true }) ?? undefined) + .setFooter({ text: message.author.tag, iconURL: message.author.avatarURL({ dynamic: true }) ?? undefined }) .setTimestamp(message.createdTimestamp) .setColor(message.member?.roles?.color?.color ?? util.colors.default) .setTitle('Raw Message Information') |