From 20eecf06513aaff02a6c8531d90cff0b3b7addce Mon Sep 17 00:00:00 2001 From: mbaruh Date: Fri, 3 Dec 2021 15:32:17 +0200 Subject: Remove now redundant input check. --- bot/exts/moderation/clean.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bot/exts/moderation/clean.py b/bot/exts/moderation/clean.py index a08788fd6..3def2a416 100644 --- a/bot/exts/moderation/clean.py +++ b/bot/exts/moderation/clean.py @@ -107,10 +107,6 @@ class Clean(Cog): if users and bots_only: raise BadArgument("Marked as bots only, but users were specified.") - # This is an implementation error rather than user error. - if second_limit and not first_limit: - raise ValueError("Second limit specified without the first.") - @staticmethod async def _send_expiring_message(ctx: Context, content: str) -> None: """Send `content` to the context channel. Automatically delete if it's not a mod channel.""" -- cgit v1.2.3