Skip to content

Adds logging for reactions, and an hourly cron for representing the metrics in an organized csv

Elliottetzkorn requested to merge T378821 into main

https://phabricator.wikimedia.org/T378821

Adds the ability for the Discord bot to listen to reactions. When a user reacts, their reaction is stored in a sqlite database.

An hourly Disnake process selects the reactions from the database and represents them in a csv file, which we can provide a link to for anyone who wants up-to-date readable analytics.

As long as reactions are being tracked, I added tracking for responses as well, though there is no code yet to represent them in a csv file. It seemed smart to start storing that information anyways though, just in case we want to look at it.

Merge request reports