aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/tags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py
index b81859db1..9ba33d7e0 100644
--- a/bot/cogs/tags.py
+++ b/bot/cogs/tags.py
@@ -208,7 +208,7 @@ class Tags(Cog):
"channel": ctx.channel.id
}
- self.bot.stats.incr(f"tags.usages.{tag_name.replace('-', '_')}")
+ self.bot.stats.incr(f"tags.usages.{tag['title'].replace('-', '_')}")
await wait_for_deletion(
await ctx.send(embed=Embed.from_dict(tag['embed'])),