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); }