huge changes once again
diff --git a/src/automations/statsChannelRemove.ts b/src/automations/statsChannelRemove.ts
index fee0d2d..da4f43b 100644
--- a/src/automations/statsChannelRemove.ts
+++ b/src/automations/statsChannelRemove.ts
@@ -3,7 +3,7 @@
 import singleNotify from '../utils/singleNotify.js';
 
 export async function callback(_, member) {
-    let config = await client.database.read(member.guild.id);
+    let config = await client.database.guilds.read(member.guild.id);
 
     config.stats.forEach(async element => {
         if (element.enabled) {