Aliases on exit
This commit is contained in:
parent
d9776ecba9
commit
f637e646fd
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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!")
|
||||||
|
|
Loading…
Reference in a new issue