Skip to content

Commit

Permalink
Quick bug fix on botGuild enable commands for manual-verify and check…
Browse files Browse the repository at this point in the history
…-member
  • Loading branch information
JPGarCar committed Mar 1, 2021
1 parent 5202e6c commit c752ede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/bot-guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,8 @@ module.exports = class BotGuild {
let guild = await client.guilds.fetch(this._id);

guild.setCommandEnabled('verify', this.verification.isEnabled);
guild.setCommandEnabled('manual-verify', this.verification.isEnabled);
guild.setCommandEnabled('check-member', this.verification.isEnabled | this.attendance.isEnabled);
guild.setCommandEnabled('start-attend', this.attendance.isEnabled);
guild.setCommandEnabled('attend', this.attendance.isEnabled);
guild.setGroupEnabled('verification', this.attendance.isEnabled || this.verification.isEnabled);
Expand Down

0 comments on commit c752ede

Please sign in to comment.