Changed method name, was interfering with add
This commit is contained in:
parent
33ec7bbb30
commit
7a6861c4c5
|
@ -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,))
|
||||
|
|
Loading…
Reference in a new issue