added guildremove
diff --git a/src/events/guildDelete.ts b/src/events/guildDelete.ts
new file mode 100644
index 0000000..92af401
--- /dev/null
+++ b/src/events/guildDelete.ts
@@ -0,0 +1,10 @@
+import client, { NucleusClient } from '../utils/client.js'
+import type { Guild } from 'discord.js'
+
+export const event = 'guildDelete'
+export const callback = async (_client: NucleusClient, guild: Guild) => {
+    await client.database.guilds.delete(guild.id);
+    await client.database.history.delete(guild.id);
+    await client.database.notes.delete(guild.id);
+    await client.database.transcripts.deleteAll(guild.id);
+}
\ No newline at end of file