From 6b474f33aaf7713333b8d86477fb726e060b1808 Mon Sep 17 00:00:00 2001 From: Conatum Date: Tue, 22 Aug 2023 22:18:10 +0300 Subject: [PATCH] fix (analytics): Use qualified cmd name. --- src/analytics/cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analytics/cog.py b/src/analytics/cog.py index a0069a43..3d7430b8 100644 --- a/src/analytics/cog.py +++ b/src/analytics/cog.py @@ -110,7 +110,7 @@ class Analytics(LionCog): duration = utc_now() - ctx.message.created_at event = CommandEvent( appname=appname, - cmdname=ctx.command.name if ctx.command else 'Unknown', # TODO: qualified_name + cmdname=ctx.command.qualified_name if ctx.command else 'Unknown', cogname=ctx.cog.qualified_name if ctx.cog else None, userid=ctx.author.id, created_at=utc_now(),