kubernetes-sigs / slack-infra

Tooling for kubernetes.slack.com
Apache License 2.0
90 stars 36 forks source link

slack/bot: add moderate words bot #41

Closed cpanato closed 3 years ago

cpanato commented 3 years ago

Add slack bot service to moderate words in a public channel

Fixes: https://github.com/kubernetes-sigs/slack-infra/issues/27

Screen Shot 2021-02-08 at 14 44 45

Right now it is posting ephemeral messages when a word matches the filter config. We can extend to delete/other actions

/assign @nikhita @jeefy

cpanato commented 3 years ago

also works in threads

Screen Shot 2021-02-08 at 14 54 58
nikhita commented 3 years ago

/cc @BenTheElder

jeefy commented 3 years ago

/approve

This is awesome work, thank you so much!

k8s-ci-robot commented 3 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cpanato, jeefy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/slack-infra/blob/master/OWNERS)~~ [jeefy] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment