all repos — gif-escarbot @ 20aaa115ab110d56fff204a2828b5b54e6b9716e

Earthbound Café's custom delivery bot with other cool utilities built-in.

README.md (view raw)

 1# EscarBot
 2
 3Earthbound Café's custom delivery bot with other cool utilities built-in.
 4
 5## Features
 61. The bot's main feature is listening for posts in a channel and forwarding them to a group.
 72. If the bot receives a private message, it will be forwarded to the bot's admin.
 83. If the bot senses an Instagram, Twitter (X) or YouTube link, it will try to send a custom link with better thumbnail generation.
 9
10## How to use
11
12Copy the `.env.example` file into `.env` and insert the following info:
13* `token`: your Telegram Bot Token;
14* `channel_id`: the channel the bot will listen to;
15* `group_id`: the group that will receive the channel messages;
16* `admin_id`: the user that will receive the bot's private messages.
17
18Create a new virtual environment and install required packages:
19```
20python -m venv venv
21source venv/bin/activate
22pip install -r requirements.txt
23```
24
25Then, start the bot by running:
26```python main.py```