1
0
Fork 0
mirror of synced 2024-06-02 18:54:33 +12:00

Fixed syntax error

This commit is contained in:
Phxntxm 2016-07-17 11:07:21 -05:00
parent cdb5372682
commit 1eafbb223d

View file

@ -150,7 +150,7 @@ class Core:
The format to call a custom tag is !tag <tag>"""
tag = ' '.join(tag).strip()
tags = config.getContent('tags')
result = [tag for tag in tags if tag['tag'] == tag and tag['server_id'] == ctx.message.server.id]
result = [t for t in tags if t['tag'] == tag and t['server_id'] == ctx.message.server.id]
if len(result) == 0:
await self.bot.say('That tag does not exist!')
return