aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/track-manual-punishments
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-15 21:40:41 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-15 21:40:41 -0500
commitb2908096f668b9a67e8a3a0259d95a9e56f7dc68 (patch)
treed7567085e6d9314d4c4e2e915a5ad64a377ed148 /src/listeners/track-manual-punishments
parent1c655a93a50faea809c15f7abfc897ba41d19e34 (diff)
downloadtanzanite-b2908096f668b9a67e8a3a0259d95a9e56f7dc68.tar.gz
tanzanite-b2908096f668b9a67e8a3a0259d95a9e56f7dc68.tar.bz2
tanzanite-b2908096f668b9a67e8a3a0259d95a9e56f7dc68.zip
chore: update deps
Diffstat (limited to 'src/listeners/track-manual-punishments')
-rw-r--r--src/listeners/track-manual-punishments/modlogSyncBan.ts1
-rw-r--r--src/listeners/track-manual-punishments/modlogSyncKick.ts1
-rw-r--r--src/listeners/track-manual-punishments/modlogSyncTimeout.ts1
-rw-r--r--src/listeners/track-manual-punishments/modlogSyncUnban.ts1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/listeners/track-manual-punishments/modlogSyncBan.ts b/src/listeners/track-manual-punishments/modlogSyncBan.ts
index b68de7c..480daab 100644
--- a/src/listeners/track-manual-punishments/modlogSyncBan.ts
+++ b/src/listeners/track-manual-punishments/modlogSyncBan.ts
@@ -25,7 +25,6 @@ export default class ModlogSyncBanListener extends BushListener {
await util.sleep(0.5); // wait for audit log entry
const logs = (await ban.guild.fetchAuditLogs({ type: AuditLogEvent.MemberBanAdd })).entries.filter(
- // @ts-ignore: scuffed typings
(entry) => entry.target?.id === ban.user.id
);
diff --git a/src/listeners/track-manual-punishments/modlogSyncKick.ts b/src/listeners/track-manual-punishments/modlogSyncKick.ts
index 6ff9bd6..d766aa3 100644
--- a/src/listeners/track-manual-punishments/modlogSyncKick.ts
+++ b/src/listeners/track-manual-punishments/modlogSyncKick.ts
@@ -25,7 +25,6 @@ export default class ModlogSyncKickListener extends BushListener {
await util.sleep(0.5); // wait for audit log entry
const logs = (await member.guild.fetchAuditLogs({ type: AuditLogEvent.MemberKick })).entries.filter(
- // @ts-ignore: scuffed typings
(entry) => entry.target?.id === member.user.id
);
diff --git a/src/listeners/track-manual-punishments/modlogSyncTimeout.ts b/src/listeners/track-manual-punishments/modlogSyncTimeout.ts
index 993002e..4796f84 100644
--- a/src/listeners/track-manual-punishments/modlogSyncTimeout.ts
+++ b/src/listeners/track-manual-punishments/modlogSyncTimeout.ts
@@ -24,7 +24,6 @@ export default class ModlogSyncTimeoutListener extends BushListener {
await util.sleep(0.5); // wait for audit log entry
const logs = (await newMember.guild.fetchAuditLogs({ type: AuditLogEvent.MemberUpdate })).entries.filter(
- // @ts-ignore: scuffed typings
(entry) => entry.target?.id === newMember.user.id
);
diff --git a/src/listeners/track-manual-punishments/modlogSyncUnban.ts b/src/listeners/track-manual-punishments/modlogSyncUnban.ts
index 366d072..c1ef561 100644
--- a/src/listeners/track-manual-punishments/modlogSyncUnban.ts
+++ b/src/listeners/track-manual-punishments/modlogSyncUnban.ts
@@ -24,7 +24,6 @@ export default class ModlogSyncUnbanListener extends BushListener {
await util.sleep(0.5); // wait for audit log entry
const logs = (await ban.guild.fetchAuditLogs({ type: AuditLogEvent.MemberBanRemove })).entries.filter(
- // @ts-ignore: scuffed typings
(entry) => entry.target?.id === ban.user.id
);