huge changes once again
diff --git a/src/automations/statsChannelAdd.ts b/src/automations/statsChannelAdd.ts
index 01dfef1..32de0ff 100644
--- a/src/automations/statsChannelAdd.ts
+++ b/src/automations/statsChannelAdd.ts
@@ -3,7 +3,7 @@
import client from '../utils/client.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) {