An open API service indexing awesome lists of open source software.

https://github.com/andrew-boutin/dndtextbotslack

Slack bot that interfaces with https://github.com/andrew-boutin/dndtextapi.
https://github.com/andrew-boutin/dndtextbotslack

docker docker-compose python3 rest-client slack-bot

Last synced: about 2 months ago
JSON representation

Slack bot that interfaces with https://github.com/andrew-boutin/dndtextapi.

Awesome Lists containing this project

README

          

# DnD Text Bot Slack

This is a Slack bot that interfaces with the [DnD Text API](https://github.com/andrew-boutin/dndtextapi). It utilizes [Simple Slack Bot](https://github.com/GregHilston/Simple-Slack-Bot) to make the Slack integration easy.

`@mention` the bot in Slack with the `add` command and your DnD text character ID. The bot will then send all of your future messages in the channel to the API as if you sent them directly to the API.

@dndtextbot add 1

`@mention` the bot in Slack with the `remove` command to stop the bot from sending your messages to the API.

@dndtextbot remove

See [development](docs/DEVELOPMENT.md) for how to get started if you want to run and/or work on this.

## TODO

- Pin `redis:alpine` version
- Get api auth working
- Redis creds (redis commander too)
- Keep ID/name mappings in Redis to cache lookups
- Periodically ping Slack and API for connectivity if no traffic for a while
- Eventually switch Python container to alpine

---

Check out my [personal site](https://andrewboutin.com)!