# Discobot responds to flags in PM \[not in tutorial\]

**URL:** https://meta.discourse.org/t/discobot-responds-to-flags-in-pm-not-in-tutorial/289078
**Category:** Bug
**Created:** [December 18, 2023, 5:16pm UTC](https://meta.discourse.org/t/discobot-responds-to-flags-in-pm-not-in-tutorial/289078 "2023-12-18T17:16:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![twofoursixeight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twofoursixeight/32/574822_2.png) [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)
#### Post date: [December 18, 2023, 5:16pm UTC](https://meta.discourse.org/t/discobot-responds-to-flags-in-pm-not-in-tutorial/289078/1 "2023-12-18T17:16:38Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [December 19, 2023, 3:50pm UTC](https://meta.discourse.org/t/discobot-responds-to-flags-in-pm-not-in-tutorial/289078/3 "2023-12-19T15:50:37Z")

</div>

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.
