This bot emulates slack user groups (@backend, @frontend, @own_name) in public or private channels.
It can be used in workspaces that are at a free plan (free plan not include user groups)
- Python 3.6+
- python-rtmbot (version 0.4.0)
- Slack workspace
- Create application in slack. https://api.slack.com/apps?new_app=1
- Go to
Bot Users
and add a new bot. - Go to
OAuth & Permissions
and click onInstall App to Workspace
- Authorize installation
- Copy token from
Bot User OAuth Access Token
(starts withxoxb
)
- Pull image
docker pull heavyrainx/tagger-bot
- Run
docker run -e "SLACK_TOKEN=TOKEN_HERE" -e "BOT_DEFAULT_USERNAME=USERNAME_HERE" -v /var/tagger-bot/:/usr/src/app/data heavyrainx/tagger-bot
(/var/tagger-bot
can be changed to another host path)
- Clone this repository
- Install requirements (
pip install -r requirements.txt
) - Run
python run.py --slack_token SLACK_TOKEN_HERE --bot_default_username=BOT_USERNAME_HERE
- Invite bot in any channel or group (
/invite @BOT_USERNAME
) where BOT_USERNAME isbot_default_username
variable - Enjoy!