Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tonglil/slack-here-reminder
Remind users to not use @here, @channel, or @everyone with a gentle message
https://github.com/tonglil/slack-here-reminder
functions slack slack-bot
Last synced: 27 days ago
JSON representation
Remind users to not use @here, @channel, or @everyone with a gentle message
- Host: GitHub
- URL: https://github.com/tonglil/slack-here-reminder
- Owner: tonglil
- Created: 2020-04-07T23:38:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-08T19:05:54.000Z (almost 5 years ago)
- Last Synced: 2024-04-13T08:15:06.420Z (9 months ago)
- Topics: functions, slack, slack-bot
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slack `@here` Reminder
This is a Slack Outgoing Webhook integration to respond to `@here`, `@channel`, and `@everyone` usage to reminder the user to mention specific users or teams instead.
## Configuration
The following environment variables can be set:
- `PORT`: specify a port *when running as a web service* (optional)
- `WEBHOOK_TOKEN`: specify the token from the Outgoing Webhook to verify requests from Slack (optional)
- `CHANNEL_NAMES`: specify the channel names to monitor and remind, separated by commas (optional)
- `ALLOWED_USER_IDS`: specify the user *id*s allowed to use `@here` (optional)## Deploying
The app can be run as a listening server (`main.go`) or as a function (`function/function.go`).