Skip to content

Tipo-4ek/cat-streamer-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAT PICTURES STREAMER. Why not? :3

Features

  • Bot give 3 pictures per /cat command
  • 1 picture is posted to the channel every hour (by cron)

Commands

  • /cat
  • /help
  • /start

Technology stack

  • Python (3.9)
  • Debian + docker-compose v 1.26.0
  • cron

start docker

  1. Go to config.py and replace telegram api token and channel id
  2. sudo apt-get install docker-compose-plugin
  3. cd your/path/cat_stream_bot
  4. sudo docker compose up --build -d

setup cron (periodic posting to channel)

  1. install cron sudo apt-get install cron
  2. call crontab -eand put 0 * * * * /your_path/cat_stream_bot/cron.sh
  3. call suso system cron reload && suso system cron restart
  4. Give the launching user the rights to the file. For ex. sudo chmod -R 777 /your_path/cat_stream_bot
  5. Now cats will be posting to channel every hour

About

Telegram bot with cats. Why not?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published