- Python 3.8
- Tornado Web Server
- Celery
- MongoDB
- Docker
-
/savequote {quote} Save a new quote in a mongo database and associate it to user who triggered the command
-
/quote Choose randomly a quote from database and write it in the current channel
-
A Slack account and an application created to have the SLACK_BOT_TOKEN needed to connecting to Slack API
-
Docker and docker-compose installed
-
Python version 3.8
-
You must have access to a Slack channel to install the app. If not create your own
-
Ngrok installed to help us to expose our local web server
-
Clone the repository
git clone [email protected]:rubbenpad/botapp.git
-
Navigate into new folder create
cd botapp
-
Run docker-compose
docker-compose up --build -d
-
Run in another terminal the next command to expose our local web sever
ngrok http 8000
-
To run the commands in Slack channel you need to register the URL given for ngrok in Slack commands settings
If you want to contribute to this project feel free to open a PR
- MIT
Rubén Padilla - @rubbenpad2
Get in touch if have troubles with your project