diff options
| author | 2020-12-04 14:46:58 +0100 | |
|---|---|---|
| committer | 2020-12-04 14:46:58 +0100 | |
| commit | 72f869a81d882acf2eb3f1714d4f52d01384b0ae (patch) | |
| tree | cd520dabb48bc090d37ca077222258459401ff9f | |
| parent | Merge PR #1214 - Gracefully handle socket.gaierro in AsyncStatsClient (diff) | |
Add the `s` alias to `infraction search`
| -rw-r--r-- | bot/exts/moderation/infraction/management.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/management.py b/bot/exts/moderation/infraction/management.py index c58410f8c..b3783cd60 100644 --- a/bot/exts/moderation/infraction/management.py +++ b/bot/exts/moderation/infraction/management.py @@ -197,7 +197,7 @@ class ModManagement(commands.Cog): # endregion # region: Search infractions - @infraction_group.group(name="search", invoke_without_command=True) + @infraction_group.group(name="search", aliases=('s',), invoke_without_command=True) async def infraction_search_group(self, ctx: Context, query: t.Union[UserMention, Snowflake, str]) -> None: """Searches for infractions in the database.""" if isinstance(query, int): |