
- Sit back & relax - you will get 2 jokes daily in the morning as well as night.
- Get Slack Notification
- Depending upon time of day the image will be changing and send to slack with the jokes.
- Jokes are coming from 2 API's that are famous for giving random jokes.
- The Jokes from the APi's are stored in database also. (DB used - MongoDB)
- Its ROBUST!
- What if script fails?
- You get Slack notifications about the exceptions too.
- You have log files (check
bot.log) too, to evaluate what went wrong
pip install pymongo
pip install requests
pip install beautifulsoup4
- Clone this repo and create auth.py
git clone https://github.com/Kaustav96/Joke-Bot-App.git
cd Joke-Bot-App
touch auth.py
- Write your Slack Webhook into auth.py
DEFAULT_SLACK_WEBHOOK = 'https://hooks.slack.com/services/<your custome webhook url>'