stats: limit results to fit into discord message limit
This commit is contained in:
parent
991d8f182f
commit
a377d084c5
@ -98,7 +98,8 @@ class PresenceTracker:
|
||||
'left join activities a on a.id = presence_journal.activity_name_id '
|
||||
'where user_id = ? '
|
||||
'group by activity_name_id '
|
||||
'order by total desc;',
|
||||
'order by total desc '
|
||||
'limit 20;',
|
||||
(user_id,)
|
||||
).fetchall()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user