diff options
| author | 2021-08-27 17:37:09 +0300 | |
|---|---|---|
| committer | 2021-08-27 17:37:09 +0300 | |
| commit | 33e05017bfb0530a736fe1473f5e2b3c275f18f0 (patch) | |
| tree | 884adfa2ec789eac06104d3e6882a298f19fc085 | |
| parent | Correct logging comment (diff) | |
Change `from-to` primary name to `between`
| -rw-r--r-- | bot/exts/moderation/clean.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/moderation/clean.py b/bot/exts/moderation/clean.py index 19f64e0e7..007aba317 100644 --- a/bot/exts/moderation/clean.py +++ b/bot/exts/moderation/clean.py @@ -357,9 +357,9 @@ class Clean(Cog): until_message=message ) - @clean_group.command(name="from-to", aliases=["after-until", "between"]) + @clean_group.command(name="between", aliases=["after-until", "from-to"]) @has_any_role(*MODERATION_ROLES) - async def clean_from_to(self, ctx: Context, after_message: Message, until_message: Message) -> None: + async def clean_between(self, ctx: Context, after_message: Message, until_message: Message) -> None: """Delete all messages within range of messages.""" await self._clean_messages( CleanMessages.message_limit, |