In order to make the analyzer event-based, we've thought of a solution which is we would have to run the analyzer from the date of updated messages (which normally would be the messages in 7 days ago). To do that we need to get the first updated message in choreographies so that we could analyze from that specific day.
Basically the new choreography would have transactions listed below (or something similar which is to be discussed)
discord-bot-message-update
- Passing the date of the updated message
- Or storing it somewhere for the analyzer could know where to start
- Either run the analyzer from that specific date or the analyzer would start from the saved date in cron-job time.
In order to make the analyzer event-based, we've thought of a solution which is we would have to run the analyzer from the date of updated messages (which normally would be the messages in 7 days ago). To do that we need to get the first updated message in choreographies so that we could analyze from that specific day.
Basically the new choreography would have transactions listed below (or something similar which is to be discussed)
discord-bot-message-update