aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/alias.py
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2019-10-25 10:12:23 -0700
committerGravatar GitHub <[email protected]>2019-10-25 10:12:23 -0700
commite68e9ef9cc6d6670a1c6b6a712fe87be1f33d60b (patch)
treecccbc64ce0b9056efb7b2c07cbec9826d77400ff /bot/cogs/alias.py
parentRemove bold tag when no channel is available (diff)
parentMerge pull request #501 from mathsman5133/reddit-makeover (diff)
Merge branch 'master' into compact_free
Diffstat (limited to '')
-rw-r--r--bot/cogs/alias.py6
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: