Example of monitoring reactions?

Posted in General by Ben Hallert Thu Sep 17 2020 23:36:35 GMT+0000 (Coordinated Universal Time)·Viewed 49 times

From git checkins, I see there's some new reaction-handling, but I haven't wrapped my head around how to have code that fires when a reaction is made to a message. I'd like to track messageIDs of bot messages and attach an X to it, for instance, then check my list of bot-messages when there's a reaction so I can delete it if it belongs to the bot. Will this be possible with the new reaction loops?
  
Markdown is allowed