fix: Fix minor statistics bugs

This commit is contained in:
2023-08-24 14:40:32 +03:00
parent 9b2af56d64
commit 2e9b438a04
4 changed files with 11 additions and 3 deletions

View File

@@ -250,7 +250,7 @@ class TextTrackerData(Registry):
query,
tuple(chain((userid, guildid), *blocks))
)
return [r['period_m'] or 0 for r in await cursor.fetchall()]
return [r['period_m'] or 0 for r in await cursor.fetchall()]
@classmethod
@log_wrap(action='member_messages_since')