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/dev/sh.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/dev/sh.ts')
-rw-r--r-- | src/commands/dev/sh.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/dev/sh.ts b/src/commands/dev/sh.ts index 5ef72b1..e6398b6 100644 --- a/src/commands/dev/sh.ts +++ b/src/commands/dev/sh.ts @@ -44,7 +44,7 @@ export default class ShCommand extends BushCommand { const embed = new MessageEmbed() .setColor(util.colors.gray) - .setFooter(message.author.tag, message.author.avatarURL({ dynamic: true }) ?? undefined) + .setFooter({ text: message.author.tag, iconURL: message.author.avatarURL({ dynamic: true }) ?? undefined }) .setTimestamp() .setTitle('Shell Command') .addField('📥 Input', await util.codeblock(input, 1024, 'sh', true)) |