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

Bot replies with an ephemeral message to the ignored user/usergroup instead of ignoring them altogether. #212

Closed
SnehaRaoS26 opened this issue Nov 30, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@SnehaRaoS26
Copy link

Report

What did you do?

ℹ Added a user group to be ignored in "ignore_usergroups" field the YAML file.

What did you expect to happen?

ℹ The bot should have ignored the message without giving any kind of reply to the user.

What happened instead?

ℹ The bot responded with an ephemeral message "You are not allowed to run the 'hello' rule." visible only to the ignored user.

Screenshots

Internal slack channel so can't share it but consider this:
Me: Hello bot!
(Only visible to you)
bot: You are not allowed to run the 'hello' rule.

Your Environment

Please complete the following information):

  • Flottbot version: 0.9.0
  • OS: macOS
  • OS version: 11.6
  • Bot YAML (see below)
  • Rule YAML (see below) if applicable
# My .bot.yml file:

name: mybotname
chat_application: slack

slack_token: ${SLACK_TOKEN}
slack_events_callback_path: ${SLACK_EVENTS_CALLBACK_PATH}
slack_signing_secret: ${SLACK_SIGNING_SECRET}

# system
cli: true
# true: enables ability to turn on CLI mode.
# false: disables ability to turn on CLI mode.
# My rule file:

name: hello
active: true
hear: Hello bot!
ignore_usergroups:
  - some-usergroup
format_output: "Hello!"
start_message_thread: true
direct_message_only: false

Additional context

Add any other context about the problem here.

@wass3r wass3r added the enhancement New feature or request label Dec 8, 2021
@renjithpk
Copy link
Contributor

The message ( you are not allowed to ... ) gives a feeling like I have done something wrong while I just wanted to silently get ignored.

@wass3r wass3r moved this to To do in flottbot Sep 10, 2022
@wass3r wass3r added this to flottbot Sep 10, 2022
@wass3r
Copy link
Collaborator

wass3r commented Nov 11, 2023

dupe of #144 - if not, feel free to comment and i will reopen

@wass3r wass3r closed this as completed Nov 11, 2023
@github-project-automation github-project-automation bot moved this from To do to Done in flottbot Nov 11, 2023
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: Done
Development

No branches or pull requests

3 participants