for coded
diff --git a/src/events:TODO/guildScheduledEventDelete.ts b/src/events:TODO/guildScheduledEventDelete.ts
new file mode 100644
index 0000000..a3e85db
--- /dev/null
+++ b/src/events:TODO/guildScheduledEventDelete.ts
@@ -0,0 +1,20 @@
+const {addLog} = require('../scripts/addLogs');
+
+module.exports = {
+ name:'guildScheduledEventDelete',
+ once:false,
+ async execute(event) {
+
+ let logs = await event.guild.fetchAuditLogs({'type': 'GUILD_SCHEDULED_EVENT_DELETE'});
+ let log = logs.entries.find(log => log.target.id === event.id);
+
+ let data = {
+ id: event.id,
+ name: event.name,
+ deletedAt: log.createdTimestamp,
+ deletedBy: log.executor.id
+ }
+
+ addLog(event.guild.id, data);
+ }
+}
\ No newline at end of file