All Projects → adrian-kalinin → DailyAnimalsBot

adrian-kalinin / DailyAnimalsBot

Licence: MIT license
Telegram bot that sends random pictures with cats and dogs

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to DailyAnimalsBot

forward-bot
Use Telegram to chat with your QQ friends.
Stars: ✭ 23 (+64.29%)
Mutual labels:  telegram-bot
CTBot
A simple (and easy to use) Arduino Telegram BOT Library for ESP8266/ESP32
Stars: ✭ 114 (+714.29%)
Mutual labels:  telegram-bot
TelegramBot
A genuine Perl 6 client for Telegram Bot API
Stars: ✭ 24 (+71.43%)
Mutual labels:  telegram-bot
vcplayerbot
Play songs directly in telegram voice chats.
Stars: ✭ 48 (+242.86%)
Mutual labels:  telegram-bot
telegram
📚 Golang bindings for Telegram API
Stars: ✭ 15 (+7.14%)
Mutual labels:  telegram-bot
tellerbot
Telegram Bot for over-the-counter trading
Stars: ✭ 17 (+21.43%)
Mutual labels:  telegram-bot
video-encoder-bot
A Telegram bot to encode videos files via ffmpeg.
Stars: ✭ 75 (+435.71%)
Mutual labels:  telegram-bot
olx-parser
Looks for new flats in Odessa and notify in the telegram through the bot
Stars: ✭ 39 (+178.57%)
Mutual labels:  telegram-bot
laravel-telegram-logging
Send logs to Telegram chat via Telegram bot
Stars: ✭ 95 (+578.57%)
Mutual labels:  telegram-bot
messenger-to-telegram
Connect your Facebook Messenger Account to your Telegram Messenger and Erase the Messenger App
Stars: ✭ 63 (+350%)
Mutual labels:  telegram-bot
fp-telegram
Wrapper classes library for telegram bots API (FreePascal)
Stars: ✭ 59 (+321.43%)
Mutual labels:  telegram-bot
FreeSteamGames-TelegramBot
A Telegram Bot that sends you a message when a game on steam is free
Stars: ✭ 35 (+150%)
Mutual labels:  telegram-bot
grammy-inline-menu
Inline Menus for Telegram made simple. Successor of telegraf-inline-menu.
Stars: ✭ 274 (+1857.14%)
Mutual labels:  telegram-bot
Truecaller-Smsbomber telegram bot
Telegram bot which has truecaller and smsbomber features
Stars: ✭ 30 (+114.29%)
Mutual labels:  telegram-bot
TgTwitterStreamer
Continous Integration from Twitter to Telegram.
Stars: ✭ 55 (+292.86%)
Mutual labels:  telegram-bot
tdlight-telegram-bot-api
The TDLight Telegram Bot API is an actively enhanced fork of the original Bot API, featuring experimental user support, proxies, unlimited files size, and more.
Stars: ✭ 71 (+407.14%)
Mutual labels:  telegram-bot
telegram-bot-api-worker
Take an alternate route to Telegram Bot API :)
Stars: ✭ 75 (+435.71%)
Mutual labels:  telegram-bot
telepush
可一键部署的Vercel Telegram消息推送机器人
Stars: ✭ 24 (+71.43%)
Mutual labels:  telegram-bot
Telegram-Music-Bot
A Telegram music catalog bot.
Stars: ✭ 19 (+35.71%)
Mutual labels:  telegram-bot
bot
茶馆群内QQ机器人(小可)
Stars: ✭ 61 (+335.71%)
Mutual labels:  telegram-bot

DailyAnimalsBot

Telegram bot that sends random cute pictures with cats and doggos.

User Usage

Everything is pretty simple – just press a button and then get a picture; or you are able to user commands /cat and /dog if the telegram keyboard is unavailable.

Example

Do not forget to use the inline mode. It provides you a possibility to send a cat or a dog in any chat. Type the username of the bot and choose one of the pictures.

Example

Admin Usage

There are some features for admins of the bot. Firt off all, you should enter /admin command. Then you can check statistics and restart the bot. One more great feature is the possibility to send a message to all the users.

Example

Deployment

Configurate config.py:

Create a new Telegram Bot at t.me/BotFather and get the token of your bot, then put it as token variable. Then you can enter for admins some ids of users who can use the admins' commands. Fill your host (server's ip) and port (443, 80, 88 or 8443).

Generate quick'n'dirty SSL certificate (in terminal):

openssl genrsa -out webhook_pkey.pem 2048

openssl req -new -x509 -days 3650 -key webhook_pkey.pem -out webhook_cert.pem

Attention! When asked for "Common Name (e.g. server FQDN or YOUR name)" you should reply with the same value as your server's ip addres.

Create virtual environment for Python and install all requiremetns (in terminal):

virtualenv venv --python=python3

source venv/bin/activate

pip install -r requiremetns.txt

Just enter python main.py in your terminal.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].