1
0
Fork 0
mirror of synced 2024-05-20 12:32:26 +12:00

Correct reference to the tag removed

This commit is contained in:
Phxntxm 2017-03-25 22:42:56 -05:00
parent 2a82a7d78a
commit 29242efdf0

View file

@ -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