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

Correct variable reference

This commit is contained in:
Phxntxm 2017-04-20 17:44:21 -05:00
parent 5d487a7f78
commit c34532cf09

View file

@ -98,7 +98,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() == trigger:
await ctx.send("There is already a tag setup called {}!".format(trigger))
return