Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
fix: low iq
Browse files Browse the repository at this point in the history
  • Loading branch information
eternal committed Feb 7, 2021
1 parent ea4664f commit d5fb5f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/Invite.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = class Invite {
}

init() {
if (!settings.invite.enabled) return;
this.client.on('message', (msg) => {
if (this.cooldown && this.cooldown > new Date()) return;
this.cooldown = null;
Expand Down

0 comments on commit d5fb5f5

Please sign in to comment.