Aliases on exit

This commit is contained in:
Ave Ozkal 2018-12-28 00:50:18 +03:00
parent d9776ecba9
commit f637e646fd
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B
2 changed files with 3 additions and 1 deletions

View file

@ -102,6 +102,8 @@ Main goal of this project is to get Robocop functionality done, secondary goal i
<summary>TODO for robocronp</summary> <summary>TODO for robocronp</summary>
<p> <p>
[ ] Reduce code repetition on mod_timed.py
the following require me to rethink some of the lockdown code, which I don't feel like the following require me to rethink some of the lockdown code, which I don't feel like
[ ] lockdown in helper [ ] lockdown in helper

View file

@ -14,7 +14,7 @@ class Admin:
@commands.guild_only() @commands.guild_only()
@commands.check(check_if_bot_manager) @commands.check(check_if_bot_manager)
@commands.command(name='exit') @commands.command(name='exit', aliases=["quit", "bye"])
async def _exit(self, ctx): async def _exit(self, ctx):
"""Shuts down the bot, bot manager only.""" """Shuts down the bot, bot manager only."""
await ctx.send(":wave: Goodbye!") await ctx.send(":wave: Goodbye!")