for coded
diff --git a/src/events:TODO/inviteDelete.ts b/src/events:TODO/inviteDelete.ts
new file mode 100644
index 0000000..609ce6f
--- /dev/null
+++ b/src/events:TODO/inviteDelete.ts
@@ -0,0 +1,21 @@
+const {addLog} = require('../scripts/addLogs');
+
+module.exports = {
+    name:'inviteDelete',
+    once:false,
+    async execute(invite) {
+
+        let logs = await invite.guild.fetchAuditLogs({type: 'INVITE_DELETE'});
+        let entry = logs.entries.find(e => e.target.code === invite.code);
+
+        let data = {
+            channel: invite.channel.id,
+            code: invite.code,
+            deletedAt: invite.deletedTimestamp,
+            deletedBy: entry.executor.id
+        }
+
+        addLog(invite.guild.id, data)
+
+    }
+}
\ No newline at end of file