From a51dc607be54e600248c8c3c86f9881470ff4158 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sun, 29 Aug 2021 18:30:04 -0400 Subject: level image, fixes, revamped role command (still broken), continued working on settings command --- src/commands/utilities/decode.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/commands/utilities') 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 { - // 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)); -- cgit