aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moulberry-bush/rule.ts
diff options
context:
space:
mode:
authorTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-05-11 22:31:55 -0600
committerTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-05-11 22:31:55 -0600
commit31764f52541a0566f148fb70c1a0e02c99bb5099 (patch)
tree1da5c2b17888fb8090e59a4fdef1b8a02705786c /src/commands/moulberry-bush/rule.ts
parent42d8e605b497c98ed7a4b7e6f31fa1cc6d56e38a (diff)
downloadtanzanite-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.ts3
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);
}
}