diff options
| author | 2018-10-27 14:23:37 +0100 | |
|---|---|---|
| committer | 2018-10-27 14:23:37 +0100 | |
| commit | 39f2a3a8808865a06224acc979840b6ad4c0ee01 (patch) | |
| tree | c302fea47b0ad07f2fcc179bd48808d4bdd1cb33 /bot/cogs/alias.py | |
| parent | Merge branch 'aliascog' into 'master' (diff) | |
Added site command and alias for rules.
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/alias.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bot/cogs/alias.py b/bot/cogs/alias.py index 940bdaa43..7b342a2d0 100644 --- a/bot/cogs/alias.py +++ b/bot/cogs/alias.py @@ -85,6 +85,14 @@ class Alias: await self.invoke(ctx, "site faq") + @command(name="rules", hidden=True) + async def site_rules_alias(self, ctx): + """ + Alias for invoking <prefix>site rules. + """ + + await self.invoke(ctx, "site rules") + @command(name="reload", hidden=True) async def reload_cog_alias(self, ctx, *, cog_name: str): """ |