diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-03 18:16:11 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-03 18:16:11 -0400 |
commit | 3b1311951638bc54efbbb245632e2b3ab460f741 (patch) | |
tree | 07fc42ba19a0ec4a2b3168faf96d284f726fb3da /src/listeners/custom | |
parent | 4b4d05d9708bdaef2c93df1a83c4ce7ca4350f7a (diff) | |
download | tanzanite-3b1311951638bc54efbbb245632e2b3ab460f741.tar.gz tanzanite-3b1311951638bc54efbbb245632e2b3ab460f741.tar.bz2 tanzanite-3b1311951638bc54efbbb245632e2b3ab460f741.zip |
new links, bug fixes, excape rtl charecters in welcome messages
Diffstat (limited to 'src/listeners/custom')
-rw-r--r-- | src/listeners/custom/bushMute.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/custom/bushMute.ts b/src/listeners/custom/bushMute.ts index 615d698..d0f9e06 100644 --- a/src/listeners/custom/bushMute.ts +++ b/src/listeners/custom/bushMute.ts @@ -27,7 +27,7 @@ export default class BushMuteListener extends BushListener { .addField('**User**', `${user} (${user.tag})`) .addField('**Moderator**', `${moderator} (${moderator.tag})`) .addField('**Reason**', `${reason ?? '[No Reason Provided]'}`); - if (duration) logEmbed.addField('**Duration**', util.humanizeDuration(duration)); + if (duration) logEmbed.addField('**Duration**', `${util.humanizeDuration(duration) || duration}`); if (dmSuccess === false) logEmbed.addField('**Additional Info**', 'Could not dm user.'); return await logChannel.send({ embeds: [logEmbed] }); } |