diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-29 18:30:04 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-29 18:30:04 -0400 |
commit | a51dc607be54e600248c8c3c86f9881470ff4158 (patch) | |
tree | 6a3c6f5132fca493639790fb68b3368bc700990b /src/commands/utilities | |
parent | 0d71ac0234f7e71d60ae727a9f1db9ad66a47bde (diff) | |
download | tanzanite-a51dc607be54e600248c8c3c86f9881470ff4158.tar.gz tanzanite-a51dc607be54e600248c8c3c86f9881470ff4158.tar.bz2 tanzanite-a51dc607be54e600248c8c3c86f9881470ff4158.zip |
level image, fixes, revamped role command (still broken), continued working on settings command
Diffstat (limited to 'src/commands/utilities')
-rw-r--r-- | src/commands/utilities/decode.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/utilities/decode.ts b/src/commands/utilities/decode.ts index a5a4c21..e48c644 100644 --- a/src/commands/utilities/decode.ts +++ b/src/commands/utilities/decode.ts @@ -95,8 +95,7 @@ export default class DecodeCommand extends BushCommand { message: BushMessage | AkairoMessage, { from, to, data }: { from: BufferEncoding; to: BufferEncoding; data: string } ): Promise<unknown> { - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - const encodeOrDecode = util.capitalizeFirstLetter(message?.util?.parsed?.alias || 'decoded'); + const encodeOrDecode = util.capitalizeFirstLetter(message?.util?.parsed?.alias ?? 'decoded'); const decodedEmbed = new MessageEmbed() .setTitle(`${encodeOrDecode} Information`) .addField('📥 Input', await util.inspectCleanRedactCodeblock(data)); |