aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/guild-custom
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-07-06 20:28:04 +0200
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-07-06 20:28:04 +0200
commit22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b (patch)
treeab7f68cb9168d2b06ba144b48311370059cf5fac /src/listeners/guild-custom
parent544f94704c9dd37913de11eab67cd594d17fcd87 (diff)
downloadtanzanite-22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b.tar.gz
tanzanite-22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b.tar.bz2
tanzanite-22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b.zip
remove array from add*(...)
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] });
}
}