diff options
author | TymanWasTaken <32660892+tymanwastaken@users.noreply.github.com> | 2021-05-11 22:31:55 -0600 |
---|---|---|
committer | TymanWasTaken <32660892+tymanwastaken@users.noreply.github.com> | 2021-05-11 22:31:55 -0600 |
commit | 31764f52541a0566f148fb70c1a0e02c99bb5099 (patch) | |
tree | 1da5c2b17888fb8090e59a4fdef1b8a02705786c /src/commands/moulberry-bush/rule.ts | |
parent | 42d8e605b497c98ed7a4b7e6f31fa1cc6d56e38a (diff) | |
download | tanzanite-31764f52541a0566f148fb70c1a0e02c99bb5099.tar.gz tanzanite-31764f52541a0566f148fb70c1a0e02c99bb5099.tar.bz2 tanzanite-31764f52541a0566f148fb70c1a0e02c99bb5099.zip |
add giveaway ping command and change '() => {}' to '() => undefined'
Diffstat (limited to 'src/commands/moulberry-bush/rule.ts')
-rw-r--r-- | src/commands/moulberry-bush/rule.ts | 3 |
1 files changed, 1 insertions, 2 deletions
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); } } |