Closed connection to the MySQL server to save changes
This commit is contained in:
parent
ccfef7d9ba
commit
30a6147c22
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue