Referred bot back to self again
This commit is contained in:
parent
d761c4af5a
commit
572d6837ca
|
@ -54,8 +54,9 @@ class Twitch:
|
|||
result = cursor.fetchone()
|
||||
if result is not None:
|
||||
cursor.execute('delete from twitch where user_id="{}"'.format(ctx.message.author.id))
|
||||
await self.bot.say("I am no longer saving your twitch URL {}".format(ctx.message.author.mention))
|
||||
else:
|
||||
await bot.say("I do not have your twitch URL added {}".format(ctx.message.author.mention))
|
||||
await self.bot.say("I do not have your twitch URL added {}".format(ctx.message.author.mention))
|
||||
config.closeConnection()
|
||||
|
||||
def setup(bot):
|
||||
|
|
Loading…
Reference in a new issue