Skip to content

Commit

Permalink
fix(lockdown): Fix missing return
Browse files Browse the repository at this point in the history
Fixes BOT-28R
  • Loading branch information
Marco (Valandur) committed Dec 8, 2019
1 parent c066ea7 commit 5ee3ea6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/moderation/commands/mod/lockdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export default class extends Command {

if (!lowestRole) {
await this.sendReply(message, t('cmd.lockdown.noSuitingRoleFound'));
return;
}

await this.client.scheduler.addScheduledAction(
Expand Down

0 comments on commit 5ee3ea6

Please sign in to comment.