fixed leave
diff --git a/src/events/memberLeave.ts b/src/events/memberLeave.ts
index 50901dc..43e78bd 100644
--- a/src/events/memberLeave.ts
+++ b/src/events/memberLeave.ts
@@ -11,11 +11,12 @@
         const { getAuditLog, log, NucleusColors, entry, renderUser, renderDelta } = member.client.logger
         let auditLog = await getAuditLog(member.guild, 'MEMBER_KICK');
         let audit = auditLog.entries.filter(entry => entry.target.id == member.id).first();
-        let type = "kick"
+        let type = "leave"
         if (audit) {
-            if (audit.createdAt - 100 < new Date().getTime()) {
-                type = "leave"
-            } else if (audit.executor.id == client.user.id) return
+            if (audit.executor.id === client.user.id) return
+            if (audit.createdAt - 100 >= new Date().getTime()) {
+                type = "kick"
+            }
         }
         let data
         if (type == "kick") {
@@ -70,5 +71,5 @@
             }
         }
         log(data);
-    } catch {}
+    } catch (e) { console.log(e) }
 }