flottbot icon indicating copy to clipboard operation
flottbot copied to clipboard

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

Open SnehaRaoS26 opened this issue 4 years ago • 1 comments

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.

SnehaRaoS26 avatar Nov 30 '21 13:11 SnehaRaoS26

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

renjithpk avatar May 20 '22 13:05 renjithpk

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

wass3r avatar Nov 11 '23 17:11 wass3r