diff options
author | 2021-12-03 15:32:17 +0200 | |
---|---|---|
committer | 2021-12-03 15:32:17 +0200 | |
commit | 20eecf06513aaff02a6c8531d90cff0b3b7addce (patch) | |
tree | 0f848f33f5f2ce0f1fb7b41ab71004552b9fb566 | |
parent | Update _build_predicate to require a limit (diff) |
Remove now redundant input check.
-rw-r--r-- | bot/exts/moderation/clean.py | 4 |
1 files changed, 0 insertions, 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.""" |