From c34532cf0987950d33f2ce04b8fe6dfc7b01babd Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Thu, 20 Apr 2017 17:44:21 -0500 Subject: [PATCH] Correct variable reference --- cogs/tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/tags.py b/cogs/tags.py index a8d32ab..96e3c84 100644 --- a/cogs/tags.py +++ b/cogs/tags.py @@ -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