Removed testing command
This commit is contained in:
parent
e6cd9279a0
commit
560d15eb62
3
bot.py
3
bot.py
|
@ -58,9 +58,6 @@ async def on_member_remove(member):
|
|||
await bot.send_message(member.server,
|
||||
"{0} has left the server, I hope it wasn't because of something I said :c".format(member))
|
||||
|
||||
@bot.event
|
||||
async def on_command_completion(ctx):
|
||||
await bot.send_message("In on_command_completion, ctx.invoked_subcommand is {}".format(ctx.invoked_subcommand))
|
||||
|
||||
@bot.event
|
||||
async def on_command_error(error, ctx):
|
||||
|
|
|
@ -42,12 +42,7 @@ class Owner:
|
|||
await self.bot.say(
|
||||
"Just saved a new doggo image! I now have {} doggo images!".format(len(glob.glob('doggo*'))))
|
||||
|
||||
@commands.group()
|
||||
@commands.check(checks.isOwner)
|
||||
async def test(self):
|
||||
pass
|
||||
|
||||
@test.command(pass_context=True)
|
||||
@commands.command(pass_context=True)
|
||||
@commands.check(checks.isOwner)
|
||||
async def debug(self, ctx):
|
||||
"""Executes code"""
|
||||
|
|
Loading…
Reference in a new issue