Conversation
Notices
-
Embed this notice
228 unread notifications
▄▁▁▁▁▁▂▂▂▂▂▄▄▄▁▁▁▂▂▂▃▃▁▁▁▁▁▂▂▂▃▄▅▆▆▇▇███
2023-10-01 05:59 - 2023-10-02 23:59
min/max/avg/stddev: 9/228/77.60/62.77
-
Embed this notice
:hellduck:
-
Embed this notice
@p @pnotifbot this bot reads directly from the instance database? Is the source code public?
-
Embed this notice
@romin @pnotifbot
> this bot reads directly from the instance database?
Yeah, it does.
> Is the source code public?
It's trivial but everything in the bot is hard-coded. Basically the only part that isn't instance-specific is this:
:mycomputer: SELECT seen, count(seen) from notifications where user_id in (select id from users where local = 't' and nickname = 'p') group by seen;
Except that I just have my user_id hard-coded.