# Can't select thumbs up or down in discobot's poll example

**URL:** <https://meta.discourse.org/t/cant-select-thumbs-up-or-down-in-discobots-poll-example/63824>\
**Category:** Bug\
**Created:** [June 2, 2017, 4:59pm UTC](https://meta.discourse.org/t/cant-select-thumbs-up-or-down-in-discobots-poll-example/63824 "2017-06-02T16:59:50Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [June 2, 2017, 8:03pm UTC](https://meta.discourse.org/t/cant-select-thumbs-up-or-down-in-discobots-poll-example/63824/5 "2017-06-02T20:03:04Z")

</div>

This took me a while to figure out @tgxworld - it looks like validations are skipped for discobot’s replies, and the validations are what builds the post JSON.

My question is: is `skip_validations` necessary for every discobot reply? If we enabled validations for the poll reply it would work. Is there any downside to that?

Otherwise the following patch works, but you see a flash as the post gets saved a second time:

```diff
diff --git a/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/advanced_user_narrative.rb b/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/advanced_user_narrative.rb
index 2139a175cd..d84f4fc16e 100644
--- a/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/advanced_user_narrative.rb
+++ b/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/advanced_user_narrative.rb
@@ -321,7 +321,12 @@ module DiscourseNarrativeBot
         RAW

         fake_delay
- reply_to(@post, raw)
+
+ # Save the post and poll
+ poll_post = reply_to(@post, raw)
+ generated_poll = DiscoursePoll::PollsValidator.new(poll_post).validate_polls
+ poll_post.custom_fields[DiscoursePoll::POLLS_CUSTOM_FIELD] = generated_poll
+ poll_post.save_custom_fields(true)
       else
         fake_delay
         reply_to(@post, I18n.t("#{I18N_KEY}.poll.not_found", i18n_post_args)) unless @data[:attempted]

```

---

_[View the full topic](https://meta.discourse.org/t/cant-select-thumbs-up-or-down-in-discobots-poll-example/63824)._
