resetting linux lol
diff --git a/src/utils/log.ts b/src/utils/log.ts
index 55f8f4c..987e256 100644
--- a/src/utils/log.ts
+++ b/src/utils/log.ts
@@ -46,10 +46,10 @@
}
- async getAuditLog(guild: Discord.Guild, event) {
+ async getAuditLog(guild: Discord.Guild, event): Promise<Discord.GuildAuditLogsEntry[]>{
await wait(250)
let auditLog = await guild.fetchAuditLogs({type: event});
- return auditLog;
+ return auditLog as unknown as Discord.GuildAuditLogsEntry[];
}
async log(log: any): Promise<void> {