diff options
| author | 2018-10-29 20:08:00 +0000 | |
|---|---|---|
| committer | 2018-10-29 20:08:00 +0000 | |
| commit | 88e57c3d8fd4f296eed27262c58cf1a26962cddf (patch) | |
| tree | c302fea47b0ad07f2fcc179bd48808d4bdd1cb33 /bot/cogs/alias.py | |
| parent | Merge branch 'aliascog' into 'master' (diff) | |
| parent | Added site command and alias for rules. (diff) | |
Merge branch 'juanita/rules-command' into 'master'
Added site command and alias for rules.
See merge request python-discord/projects/bot!80
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): """ |