Reformat using prettier
diff --git a/src/events/threadDelete.ts b/src/events/threadDelete.ts
index bfac75e..ecbf4cf 100644
--- a/src/events/threadDelete.ts
+++ b/src/events/threadDelete.ts
@@ -6,9 +6,10 @@
export async function callback(client: NucleusClient, thread: ThreadChannel) {
const { getAuditLog, isLogging, log, NucleusColors, entry, renderUser, renderDelta, renderChannel } = client.logger;
- if (!await isLogging(thread.guild.id, "channelUpdate")) return;
- const auditLog = (await getAuditLog(thread.guild, AuditLogEvent.ThreadDelete))
- .filter((entry: GuildAuditLogsEntry) => (entry.target as ThreadChannel)!.id === thread.id)[0]!;
+ if (!(await isLogging(thread.guild.id, "channelUpdate"))) return;
+ const auditLog = (await getAuditLog(thread.guild, AuditLogEvent.ThreadDelete)).filter(
+ (entry: GuildAuditLogsEntry) => (entry.target as ThreadChannel)!.id === thread.id
+ )[0]!;
if (auditLog.executor!.id === client.user!.id) return;
const category = thread.parent
? entry(