From 6475a07610110e7249ded9423a991bbdcf336e94 Mon Sep 17 00:00:00 2001 From: Kath Date: Wed, 31 Jul 2024 17:22:30 +0800 Subject: [PATCH] fix oversite v2 --- src/events/ready.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/ready.ts b/src/events/ready.ts index 2ea77b3..bac8544 100644 --- a/src/events/ready.ts +++ b/src/events/ready.ts @@ -11,7 +11,7 @@ export async function execute(client: Client): Promise { DeployEvents(client); connectDB(); global.guild = await client.guilds.fetch(serverId); - cron.schedule(`* * * * *`, () => CheckPermits(client)); + cron.schedule(`* * * * *`, () => CheckPermits()); } catch (error) { console.log(error); }