aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/guild-custom
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-26 21:40:27 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-26 21:40:27 -0500
commit3b008e3997bac2093cc8b4254328ec84acc7e294 (patch)
tree22ac3c43b53c2bd0382541de37530f944bd9c721 /src/listeners/guild-custom
parent840cca672d681c36f980a06fb79a4e2c01bd69ac (diff)
downloadtanzanite-3b008e3997bac2093cc8b4254328ec84acc7e294.tar.gz
tanzanite-3b008e3997bac2093cc8b4254328ec84acc7e294.tar.bz2
tanzanite-3b008e3997bac2093cc8b4254328ec84acc7e294.zip
minor changes
Diffstat (limited to 'src/listeners/guild-custom')
-rw-r--r--src/listeners/guild-custom/bushLockdown.ts5
-rw-r--r--src/listeners/guild-custom/bushUnlockdown.ts5
2 files changed, 4 insertions, 6 deletions
diff --git a/src/listeners/guild-custom/bushLockdown.ts b/src/listeners/guild-custom/bushLockdown.ts
index f3e72e7..6a075b4 100644
--- a/src/listeners/guild-custom/bushLockdown.ts
+++ b/src/listeners/guild-custom/bushLockdown.ts
@@ -15,12 +15,11 @@ export default class BushLockdownListener extends BushListener {
if (!logChannel) return;
const logEmbed = new Embed()
- .setColor(util.colors.discord.BLURPLE)
+ .setColor(util.colors.BLURPLE)
.setTimestamp()
.addField({ name: '**Action**', value: `${'Lockdown'}` })
.addField({ name: '**Moderator**', value: `${moderator} (${moderator.user.tag})` })
- // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
- .addField({ name: '**Reason**', value: `${reason || '[No Reason Provided]'}` })
+ .addField({ name: '**Reason**', value: `${reason ? reason : '[No Reason Provided]'}` })
.addField({
name: `**Channel${channelsSuccessMap.size > 1 ? 's' : ''}**`,
value: channelsSuccessMap
diff --git a/src/listeners/guild-custom/bushUnlockdown.ts b/src/listeners/guild-custom/bushUnlockdown.ts
index 0ac2a13..6c87678 100644
--- a/src/listeners/guild-custom/bushUnlockdown.ts
+++ b/src/listeners/guild-custom/bushUnlockdown.ts
@@ -15,12 +15,11 @@ export default class BushUnlockdownListener extends BushListener {
if (!logChannel) return;
const logEmbed = new Embed()
- .setColor(util.colors.discord.BLURPLE)
+ .setColor(util.colors.BLURPLE)
.setTimestamp()
.addField({ name: '**Action**', value: `${'Unlockdown'}` })
.addField({ name: '**Moderator**', value: `${moderator} (${moderator.user.tag})` })
- // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
- .addField({ name: '**Reason**', value: `${reason || '[No Reason Provided]'}` })
+ .addField({ name: '**Reason**', value: `${reason ? reason : '[No Reason Provided]'}` })
.addField({
name: `**Channel${channelsSuccessMap.size > 1 ? 's' : ''}**`,
value: channelsSuccessMap