From 7a6861c4c5a17b7a1040b06800500d79d4c16c79 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Wed, 13 Jul 2016 21:27:10 -0500 Subject: [PATCH] Changed method name, was interfering with add --- cogs/overwatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/overwatch.py b/cogs/overwatch.py index ce6be9d..fa0914a 100644 --- a/cogs/overwatch.py +++ b/cogs/overwatch.py @@ -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,))