Telegram Bot that sends you cat gifs from TheCatApi.com
# install git and python3
sudo apt update
sudo apt install git python3 python3-dev python3-pip
# clone repository
git clone https://github.com/Kylmakalle/CatBot.git
cd CatBot
# update python pip and install module requirements
sudo -H pip3 install -U pip setuptools wheel
sudo -H pip3 install -r requirements.txt
cp set_env.example.sh set_env.sh
- Create new Telegram bot with any name by sending
/newbot
command to @BotFather and copy token to access the HTTP API toset_env.sh
- Add /cat command to the bot using /setcommands or inline buttons:
cat - get CatGif
chmod +x run.sh
./run.sh
git pull
sudo -H pip3 install -r requirements.txt
Deploying to Heroku
Fastest and Easiest way
Just Replace repository in guide with this CatBot repo