From 29242efdf0656064c64036cc9da132a787524337 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sat, 25 Mar 2017 22:42:56 -0500 Subject: [PATCH] Correct reference to the tag removed --- cogs/tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/tags.py b/cogs/tags.py index 598e25e..f9e1528 100644 --- a/cogs/tags.py +++ b/cogs/tags.py @@ -115,7 +115,7 @@ class Tags: if t['trigger'] == tag: if ctx.message.author.permissions_in(ctx.message.channel).manage_guild or str(ctx.message.author.id) == t['author']: tags['tags'].remove(t) - await ctx.send("I have just removed the tag {}".format(trigger)) + await ctx.send("I have just removed the tag {}".format(tag)) else: await ctx.send("You don't own that tag! You can't remove it!") return