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

Added ' around the tag when printing it

This commit is contained in:
phxntxm 2016-07-12 11:55:18 -05:00
parent 647fd5b151
commit 9e129fc991

View file

@ -156,7 +156,7 @@ class Core:
return
sql = 'insert into tags (server_id, tag, result) values (%s, %s, %s)'
cursor.execute(sql, (ctx.message.server.id, tag, result))
await self.bot.say("I have just added the tag {0}! You can call this tag by entering !tag {0}".format(tag))
await self.bot.say("I have just added the tag '{0}'! You can call this tag by entering !tag {0}".format(tag))
config.closeConnection()
@tag.command(name='delete', aliases=['remove', 'stop'], pass_context=True)
@ -174,7 +174,7 @@ class Core:
config.closeConnection()
return
cursor.execute('delete from tags where server_id=%s and tag=%s', (ctx.message.server.id, tag))
await self.bot.say('I have just removed the tag {}'.format(tag))
await self.bot.say('I have just removed the tag \'{}\''.format(tag))
config.closeConnection()