aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-02 18:10:17 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-02 18:10:17 -0400
commit5f4f28903b2f3428e54ed74417fc06e8eeb58ebf (patch)
tree6c31807fa3de0bb142ae2bfc7496ee96663a81eb /src/lib/extensions/discord.js
parent34b55d206c5048b4abacf68c663261f494c888a2 (diff)
downloadtanzanite-5f4f28903b2f3428e54ed74417fc06e8eeb58ebf.tar.gz
tanzanite-5f4f28903b2f3428e54ed74417fc06e8eeb58ebf.tar.bz2
tanzanite-5f4f28903b2f3428e54ed74417fc06e8eeb58ebf.zip
feat(errorHandler): ansi colors
Diffstat (limited to 'src/lib/extensions/discord.js')
-rw-r--r--src/lib/extensions/discord.js/BushGuildMember.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/extensions/discord.js/BushGuildMember.ts b/src/lib/extensions/discord.js/BushGuildMember.ts
index 7cc89d2..20a1f60 100644
--- a/src/lib/extensions/discord.js/BushGuildMember.ts
+++ b/src/lib/extensions/discord.js/BushGuildMember.ts
@@ -373,7 +373,7 @@ export class BushGuildMember extends GuildMember {
const muteSuccess = await this.roles
.remove(muteRole, `[Unmute] ${moderator.tag} | ${options.reason ?? 'No reason provided.'}`)
.catch(async (e) => {
- await client.console.warn('muteRoleAddError', util.formatError(e));
+ await client.console.warn('muteRoleAddError', util.formatError(e, true));
return false;
});
if (!muteSuccess) return unmuteResponse.ACTION_ERROR;