1
0
Fork 0
mirror of synced 2024-06-26 10:10:44 +12:00

Closed connection to the MySQL server to save changes

This commit is contained in:
Phxntxm 2016-07-16 07:02:30 -05:00
parent ccfef7d9ba
commit 30a6147c22

View file

@ -173,6 +173,7 @@ class Mod:
sql = "delete from `"+sid+"` where command=%s"
cursor.execute(sql, (cmd,))
await self.bot.say("I have just removed the custom permissions for {}!".format(cmd))
config.closeConnection()
def setup(bot):
bot.add_cog(Mod(bot))