1
0
Fork 0
mirror of synced 2024-05-19 12:02:29 +12:00

Changed method name, was interfering with add

This commit is contained in:
phxntxm 2016-07-13 21:27:10 -05:00
parent 33ec7bbb30
commit 7a6861c4c5

View file

@ -40,7 +40,7 @@ class Overwatch:
config.closeConnection()
@ow.command(pass_context=True, name="delete", aliases=['remove'])
async def add(self, ctx):
async def delete(self, ctx):
cursor = config.getCursor()
cursor.execute('use {}'.format(config.db_default))
cursor.execute('select * from overwatch where id=%s', (ctx.message.author.id,))