aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/guild-custom
diff options
context:
space:
mode:
Diffstat (limited to 'src/listeners/guild-custom')
-rw-r--r--src/listeners/guild-custom/bushLockdown.ts4
-rw-r--r--src/listeners/guild-custom/bushUnlockdown.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/listeners/guild-custom/bushLockdown.ts b/src/listeners/guild-custom/bushLockdown.ts
index 930a8d2..51d1c3d 100644
--- a/src/listeners/guild-custom/bushLockdown.ts
+++ b/src/listeners/guild-custom/bushLockdown.ts
@@ -17,7 +17,7 @@ export default class BushLockdownListener extends BushListener {
const logEmbed = new EmbedBuilder()
.setColor(colors.Blurple)
.setTimestamp()
- .addFields([
+ .addFields(
{ name: '**Action**', value: `${'Lockdown'}` },
{ name: '**Moderator**', value: `${moderator} (${moderator.user.tag})` },
{ name: '**Reason**', value: `${reason ? reason : '[No Reason Provided]'}` },
@@ -27,7 +27,7 @@ export default class BushLockdownListener extends BushListener {
.map((success, channel) => `<#${channel}> ${success ? emojis.success : emojis.error}`)
.join('\n')
}
- ]);
+ );
return await logChannel.send({ embeds: [logEmbed] });
}
}
diff --git a/src/listeners/guild-custom/bushUnlockdown.ts b/src/listeners/guild-custom/bushUnlockdown.ts
index b5a4482..18cb792 100644
--- a/src/listeners/guild-custom/bushUnlockdown.ts
+++ b/src/listeners/guild-custom/bushUnlockdown.ts
@@ -17,7 +17,7 @@ export default class BushUnlockdownListener extends BushListener {
const logEmbed = new EmbedBuilder()
.setColor(colors.Blurple)
.setTimestamp()
- .addFields([
+ .addFields(
{ name: '**Action**', value: `${'Unlockdown'}` },
{ name: '**Moderator**', value: `${moderator} (${moderator.user.tag})` },
{ name: '**Reason**', value: `${reason ? reason : '[No Reason Provided]'}` },
@@ -27,7 +27,7 @@ export default class BushUnlockdownListener extends BushListener {
.map((success, channel) => `<#${channel}> ${success ? emojis.success : emojis.error}`)
.join('\n')
}
- ]);
+ );
return await logChannel.send({ embeds: [logEmbed] });
}
}