From 7990abdb511eeec2a114b124a3628b10bfefc342 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 26 Jul 2021 22:53:27 -0400 Subject: chore: add new eslint rule --- src/commands/moderation/lockdown.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/commands/moderation/lockdown.ts') 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 -- cgit