1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Saved the mysql changes

This commit is contained in:
Phxntxm 2016-07-10 10:41:48 -05:00
parent 572d6837ca
commit 2f4a7370a6

View file

@ -55,6 +55,7 @@ class Twitch:
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))
config.closeConnection()
else:
await self.bot.say("I do not have your twitch URL added {}".format(ctx.message.author.mention))
config.closeConnection()