Discobot responds to flags in PM [not in tutorial]

I discovered an issue where if you flag any post in PMs with discobot, it would end up causing the bot to respond to the flagged topic, and discobot reviews their own flag.

Reproduction:

  1. Start a personal message with @discobot. You DO NOT have to start the tutorial.
  2. Flag a post. It can be any post, even your post.
  3. @discobot responds to the flagged post.

I don’t know why it does that, but I’m pretty sure it’s unintentional for a bot to respond to flags like that.

I’d guess this happens since there’s a tutorial step where discobot makes you flag a post, and whatever causes it to handle that flag isn’t restricted to the tutorial.