Correct reference to the tag removed
This commit is contained in:
parent
2a82a7d78a
commit
29242efdf0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue