Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.
/ CatBot Public archive

Telegram Bot that sends you cat gifs from TheCatApi.com

License

Notifications You must be signed in to change notification settings

Kylmakalle/CatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CatBot Telegarm Bot

Telegram Bot that sends you cat gifs from TheCatApi.com

@Cats4FunBot

Installation

Quick Start for Ubuntu 16.04

# 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 to set_env.sh
  • Add /cat command to the bot using /setcommands or inline buttons: cat - get CatGif

Run

chmod +x run.sh
./run.sh

Update

git pull
sudo -H pip3 install -r requirements.txt

Deploying to Heroku

Fastest and Easiest way

Deploy

Full Deploy Guide

Just Replace repository in guide with this CatBot repo

https://github.com/Kylmakalle/heroku-telegram-bot

About

Telegram Bot that sends you cat gifs from TheCatApi.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages