Skip to content

Commit

Permalink
Merge pull request #204 from zhiyan114/master
Browse files Browse the repository at this point in the history
Critical Fix for the recent feature
  • Loading branch information
zhiyan114 authored Nov 7, 2024
2 parents 093d285 + 0bfb27f commit 035b085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/unverifyKick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export class unverifyKickLoader {
await this.checkAndKick();

// Set grace period callback func
this.client.on('guildMemberAdd', this.setGracePeriod);
this.client.on('guildMemberAdd', this.setGracePeriod.bind(this));

// Set cronjob to check every hour
schedule("0 * * * *", this.checkAndKick);
schedule("0 * * * *", this.checkAndKick.bind(this));

}

Expand Down

0 comments on commit 035b085

Please sign in to comment.