From f637e646fdfd87c261b71f60ac73a654595b895a Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Fri, 28 Dec 2018 00:50:18 +0300 Subject: [PATCH] Aliases on exit --- README.md | 2 ++ cogs/admin.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ef6cad1..11ac495 100755 --- a/README.md +++ b/README.md @@ -102,6 +102,8 @@ Main goal of this project is to get Robocop functionality done, secondary goal i TODO for robocronp

+[ ] Reduce code repetition on mod_timed.py + the following require me to rethink some of the lockdown code, which I don't feel like [ ] lockdown in helper diff --git a/cogs/admin.py b/cogs/admin.py index 92c6b81..26c5fd1 100644 --- a/cogs/admin.py +++ b/cogs/admin.py @@ -14,7 +14,7 @@ class Admin: @commands.guild_only() @commands.check(check_if_bot_manager) - @commands.command(name='exit') + @commands.command(name='exit', aliases=["quit", "bye"]) async def _exit(self, ctx): """Shuts down the bot, bot manager only.""" await ctx.send(":wave: Goodbye!")