A Flask application that powers the /wtf Slack command. Inspired by the VA bot of same name HERE of similar functionality. Configured for deployment on DigitalOcean. Relies on this acronym list.
Tested in Arch Linux and WSL2 (Kali)
Clone this repo.
$ git clone https://github.com/elliottgreen/slack-wtf-bot.git
$ cd slack-wtf-bot
*nix
$ make python-install
$ source env/bin/activate
Run tests.
$ make test
** Clean up, after tests.**
$ make deep clean
$ export FLASK_APP=`pwd`/app/wtf.py
$ export FLASK_DEBUG=1
$ export SLACK_TOKENS={comma separated tokens to be defined by you}
$ export DATA_URL=https://raw.githubusercontent.com/elliottgreen/slack-wtf-bot-acronyms/main/acronyms.csv
Open an Issue. Pull requests welcome.