aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Boris Muratov <[email protected]>2022-06-13 01:29:55 +0300
committerGravatar GitHub <[email protected]>2022-06-13 01:29:55 +0300
commitd1dcf890bb1af5c5edf0be701b2e0275d315b522 (patch)
tree2f49b9a51af3c5877a116dc6ee46fb5b505c901a
parentCorrect _get_messages_from_channels type hints and add docstring (diff)
Correct "older" to "younger"
Co-authored-by: Mark <[email protected]>
-rw-r--r--bot/exts/moderation/clean.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/clean.py b/bot/exts/moderation/clean.py
index 4e65c4396..d7c2c7673 100644
--- a/bot/exts/moderation/clean.py
+++ b/bot/exts/moderation/clean.py
@@ -182,7 +182,7 @@ class Clean(Cog):
return first_limit < message.created_at < second_limit
def predicate_after(message: Message) -> bool:
- """Check if the message is older than the first limit."""
+ """Check if the message is younger than the first limit."""
return message.created_at > first_limit
predicates = []