Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow adding multiple reaction emojis to one message #177

Open
adrianaholley opened this issue May 20, 2021 · 2 comments
Open

Allow adding multiple reaction emojis to one message #177

adrianaholley opened this issue May 20, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@adrianaholley
Copy link

adrianaholley commented May 20, 2021

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 adrianaholley changed the title Allow adding multiple reaction emojis at once Allow adding multiple reaction emojis to one message May 21, 2021
@wass3r
Copy link
Collaborator

wass3r commented Jun 26, 2021

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
Copy link
Collaborator

wass3r commented Jun 26, 2021

Sort of related to #63 maybe..

@wass3r wass3r added the enhancement New feature or request label Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants