aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/track-manual-punishments
diff options
context:
space:
mode:
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
);