1
0
Fork 0
mirror of synced 2024-06-01 18:29:38 +12:00

Removed testing command

This commit is contained in:
phxntxm 2016-07-30 17:15:59 -05:00
parent e6cd9279a0
commit 560d15eb62
2 changed files with 1 additions and 9 deletions

3
bot.py
View file

@ -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):

View file

@ -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"""