mkdryden / telegram-stats-bot

A simple bot that lives in your Telegram group, logging messages to a Postgresql database and serving statistical tables and plots to users as Telegram messages.
GNU General Public License v3.0
53 stars 20 forks source link

Importing historical stats #10

Closed 0x464e closed 1 year ago

0x464e commented 2 years ago

Hi,

Nice application, seems really cool. For me to use it though, I'd really need some ability to import past stats. I'm not seeing support for this being documented, so I'm assuming it's not built in. Could I manually do it somehow though?

mkdryden commented 2 years ago

I think I wrote a script to do it from a chat history dump from the desktop client when I set it up initially. When I get a chance, I will dig it up and see if it still works correctly.

0x464e commented 2 years ago

That would be awesome, thanks.

mkdryden commented 1 year ago

Added in b8b8eff. I have tried it on a couple of servers, but I'm still not totally sure there aren't any problems, so I won't push a new version just yet.

0x464e commented 1 year ago

Thanks man, I'll definitely check it out later