pechorka / adhd-reader

2 stars 0 forks source link

Basic analytics with what we have in DB... #27

Closed AAKrasnova closed 1 year ago

AAKrasnova commented 1 year ago

If user id == <373512635> or <310116972> then react on command /analytics.

on analytics command bot should send the message with table-like information

UserID | ChunkSize | Number of texts added | Avg TotalChunks for user texts | Max CurrentChunk | Number of texts where CurrentChunk is more than -1 | Name of the text of Current UserText | Number of texts where CurrentChunk ==TotalChunks (user completed text, but didn't delete it)

and then another message:

Total number of users: <> Number of users with >0 texts added: <> Total number of texts added: <> Average ChunkSize among users: <>

AAKrasnova commented 1 year ago

Completely satisfied