From 31764f52541a0566f148fb70c1a0e02c99bb5099 Mon Sep 17 00:00:00 2001 From: TymanWasTaken <32660892+tymanwastaken@users.noreply.github.com> Date: Tue, 11 May 2021 22:31:55 -0600 Subject: add giveaway ping command and change '() => {}' to '() => undefined' --- src/commands/moulberry-bush/rule.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/commands/moulberry-bush/rule.ts') diff --git a/src/commands/moulberry-bush/rule.ts b/src/commands/moulberry-bush/rule.ts index 3d1f549..4eac580 100644 --- a/src/commands/moulberry-bush/rule.ts +++ b/src/commands/moulberry-bush/rule.ts @@ -142,7 +142,6 @@ export default class RuleCommand extends BotCommand { allowedMentions: AllowedMentions.users() }); } - // eslint-disable-next-line @typescript-eslint/no-empty-function - await message.delete().catch(() => {}); + await message.delete().catch(() => undefined); } } -- cgit