1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Call strip

This commit is contained in:
Phxntxm 2017-03-27 18:31:42 -05:00
parent bf7326dccb
commit dd3742a318

View file

@ -54,7 +54,7 @@ class Tags:
tags = await utils.get_content('tags', str(ctx.message.guild.id))
if tags and len(tags['tags']) > 0:
for t in tags['tags']:
if t['trigger'].lower.strip() == tag:
if t['trigger'].lower().strip() == tag:
await ctx.send(t['result'])
return
await ctx.send("There is no tag called {}".format(tag))