diff options
Diffstat (limited to 'src/commands/utilities/decode.ts')
-rw-r--r-- | src/commands/utilities/decode.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/utilities/decode.ts b/src/commands/utilities/decode.ts index 729cf35..7cb0e83 100644 --- a/src/commands/utilities/decode.ts +++ b/src/commands/utilities/decode.ts @@ -65,7 +65,7 @@ export default class DecodeCommand extends BushCommand { decodedEmbed.setColor(util.colors.error).addFields([ { name: `📤 Error ${encodeOrDecode.slice(1)}ing`, - value: await util.inspectCleanRedactCodeblock(error?.stack ?? error) + value: await util.inspectCleanRedactCodeblock(util.formatError(error)) } ]); } |