Skip to content

Commit

Permalink
fix oversite v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kathund committed Jul 31, 2024
1 parent b986f98 commit 6475a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/ready.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function execute(client: Client): Promise<void> {
DeployEvents(client);
connectDB();
global.guild = await client.guilds.fetch(serverId);
cron.schedule(`* * * * *`, () => CheckPermits(client));
cron.schedule(`* * * * *`, () => CheckPermits());
} catch (error) {
console.log(error);
}
Expand Down

0 comments on commit 6475a07

Please sign in to comment.