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

Fixed syntax error

This commit is contained in:
Phxntxm 2016-07-15 14:17:39 -05:00
parent ae56fc0528
commit 460c6f6285

View file

@ -122,7 +122,7 @@ class Mod:
cursor.execute(sql,(command,permissions))
else:
sql = "update `"+ctx.message.server.id+"` set perms=%s where command=%s"
cursor.execute(sql,(perms,command))
cursor.execute(sql,(permissions,command))
await self.bot.say("I have just added your custom permissions; you now need to have {} permissions to use the command {}".format(permissions, command))
config.closeConnection()