Get random jokes bapack2 from jokes-bapack2-api on telegram bot
- python
- pip
- pipenv
- python-telegram-bot
- python-dotenv
- requests
- Create a bot using botfather from telegram app
- Clone this repo
git clone https://github.com/miftahafina/jokesbapack2-bot.git
cd jokesbapack2-bot
pipenv install
cp .env.example .env
- Change
BOT_TOKEN
on.env
file pipenv run python bot-polling.py
- Now your bot can automatically respond your chat with random jokes bapack2 from jokes-bapack2-api