diff options
| author | 2019-10-25 10:12:23 -0700 | |
|---|---|---|
| committer | 2019-10-25 10:12:23 -0700 | |
| commit | e68e9ef9cc6d6670a1c6b6a712fe87be1f33d60b (patch) | |
| tree | cccbc64ce0b9056efb7b2c07cbec9826d77400ff /bot/cogs/alias.py | |
| parent | Remove bold tag when no channel is available (diff) | |
| parent | Merge pull request #501 from mathsman5133/reddit-makeover (diff) | |
Merge branch 'master' into compact_free
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/alias.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/cogs/alias.py b/bot/cogs/alias.py index 6648805e9..5190c559b 100644 --- a/bot/cogs/alias.py +++ b/bot/cogs/alias.py @@ -79,10 +79,10 @@ class Alias (Cog): """Alias for invoking <prefix>site faq.""" await self.invoke(ctx, "site faq") - @command(name="rules", hidden=True) - async def site_rules_alias(self, ctx: Context) -> None: + @command(name="rules", aliases=("rule",), hidden=True) + async def site_rules_alias(self, ctx: Context, *rules: int) -> None: """Alias for invoking <prefix>site rules.""" - await self.invoke(ctx, "site rules") + await self.invoke(ctx, "site rules", *rules) @command(name="reload", hidden=True) async def extensions_reload_alias(self, ctx: Context, *extensions: Extension) -> None: |