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 replying to users who live in a given group under ignore_usergroups #144

Open
jakereps opened this issue Aug 18, 2020 · 3 comments
Open
Labels
bug Something isn't working slack slack remote specific

Comments

@jakereps
Copy link

Report

What did you do?

Added an ignore_userlist to our rules.

What did you expect to happen?

flottbot to not reply to users in the userlist, as "users that are part of any of these groups won't trigger this rule"

What happened instead?

flottbot replies to users in the userlist.

Screenshots

Internal Slack, N/A (imagine photo of bot replying to user that lives in a usergroup that is listed in the rules YAML file under ignore_usergroups)

Your Environment

Please complete the following information):

  • Flottbot version: target/flottbot:0.5.0
  • OS: unknown, internally hosted "serverless" platform
  • OS version: n/a
  • Bot YAML (see below)
  • Rule YAML (see below) if applicable
# please paste .bot.yml here (remove any sensitive information!)
...
ignore_threads: true
ignore_usergroups:
  - ourgroupname
...

Additional context

N/A

@wass3r
Copy link
Collaborator

wass3r commented Aug 20, 2020

thanks for the report. can you list the permission scopes you had enabled at the time?

@wass3r wass3r added bug Something isn't working slack slack remote specific labels Aug 20, 2020
@jakereps
Copy link
Author

jakereps commented Sep 2, 2020

I'll have to reach out to my coworker - sorry on the long delay.

@jakereps
Copy link
Author

jakereps commented Sep 2, 2020

On the application page it shows:

OurBotName can:
- View information about the user’s identity, granted by 1 team member
- Add the ability for people to direct message or mention @ourbotname, granted by 1 team member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working slack slack remote specific
Projects
None yet
Development

No branches or pull requests

2 participants