aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joseph Banks <[email protected]>2020-04-13 03:20:43 +0100
committerGravatar Joseph Banks <[email protected]>2020-04-13 03:20:43 +0100
commit3d25c790a69421e0ed9c7c7a29ca1d5833322169 (patch)
tree9ebddc2078dbf75d75381bec448d3926af433e58
parent[stat] Create a statistic for whether dormant was called by the claimant or s... (diff)
[stat] Tag statistic was using the user input as the series name, not the resolved tag name
-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'])),