3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-16 14:11:50 +00:00

Re-enable audit log checks

This commit is contained in:
Dragory 2021-08-18 23:21:00 +03:00
parent ef118437f5
commit 30f184897f
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -520,9 +520,6 @@ export async function findRelevantAuditLogEntry(
return null; return null;
} }
// FIXME: Temp hotfix
return null;
let auditLogs: GuildAuditLogs | null = null; let auditLogs: GuildAuditLogs | null = null;
try { try {
auditLogs = await guild.fetchAuditLogs({ limit: 5, type: actionType }); auditLogs = await guild.fetchAuditLogs({ limit: 5, type: actionType });