diff options
Diffstat (limited to 'src/commands/moderation/lockdown.ts')
-rw-r--r-- | src/commands/moderation/lockdown.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/moderation/lockdown.ts b/src/commands/moderation/lockdown.ts index 4eaeceb..db074b1 100644 --- a/src/commands/moderation/lockdown.ts +++ b/src/commands/moderation/lockdown.ts @@ -36,6 +36,8 @@ export default class LockdownCommand extends BushCommand { if (!all) { if (!['GUILD_TEXT', 'GUILD_NEWS'].includes(message.channel.type)) return message.util.reply(`${util.emojis.error} You can only lock down text and announcement channels.`); + + // eslint-disable-next-line @typescript-eslint/no-unused-vars const lockdownSuccess = await util.lockdownChannel({ channel: message.channel as BushTextChannel | BushNewsChannel, moderator: message.author |