flottbot icon indicating copy to clipboard operation
flottbot copied to clipboard

Allow adding multiple `reaction` emojis to one message

Open adrianaholley opened this issue 4 years ago • 2 comments

What did you do?

Two rules

First file: hear: "magic words" reaction: eyes

Second file: hear: "magic words" reaction: white_check_mark

What did you expect to happen?

Expected my bot to react to a message with text "magic words" with 2 emojis: 👀 and ✅

What happened instead?

Only ✅ appeared.

Your Environment

Please complete the following information):

  • Flottbot version: 0.8.0

adrianaholley avatar May 20 '21 23:05 adrianaholley

thanks for the suggestion! to clarify, the bot currently stops after it finds a matching rule, you are proposing that all matching rules should execute?

The other way to read this is to add a reactions keyword that accepts a YAML array like:

reactions:
   - eyes
   - white_check_mark

It sounds like you might be after the first option?

wass3r avatar Jun 26 '21 03:06 wass3r

Sort of related to https://github.com/target/flottbot/issues/63 maybe..

wass3r avatar Jun 26 '21 03:06 wass3r