https://github.com/coreos/11bot
Slack bot for setting up random weekly 1:1s
https://github.com/coreos/11bot
Last synced: 5 months ago
JSON representation
Slack bot for setting up random weekly 1:1s
- Host: GitHub
- URL: https://github.com/coreos/11bot
- Owner: coreos
- License: apache-2.0
- Created: 2021-02-05T17:23:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-18T17:50:06.000Z (over 1 year ago)
- Last Synced: 2025-04-09T09:05:28.461Z (about 1 year ago)
- Language: Python
- Homepage: https://quay.io/repository/coreos/11bot
- Size: 48.8 KB
- Stars: 1
- Watchers: 11
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 1:1 bot
## Installing
A `setup.cfg` would be nice, but we don't have one right now.
```sh
cd ~
git clone https://github.com/coreos/11bot
cd 11bot
virtualenv env
env/bin/pip install -r requirements.txt
env/bin/python 11bot.py
```
Alternatively, a [container image](https://quay.io/repository/coreos/11bot) is available.
You'll also need to set up a Slack app in your workspace and get an API token for it.
## Slack configuration
- Slash command: `/11bot`
- Scopes:
- `channels:manage` - leave public channels with `/11bot abandon`
- `channels:read` - check that public channel participants are members
- `commands` - add slash command
- `groups:read` - check that private channel participants are members
- `groups:write` - leave private channels with `/11bot abandon`
- `im:write` - send 1:1 notices with only one participant
- `mpim:write` - send 1:1 notices and admin messages
## Config format
See [config.example](config.example). Put this in `~/.11bot` by default.