all repos — gif-escarbot @ master

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

4362f8af
use vxtiktok, link emoji
BiRabittoh andronacomarco@gmail.com
Mon, 18 Sep 2023 16:34:45 +0200
1cec4516
fix replacing in threads
BiRabittoh andronacomarco@gmail.com
Tue, 12 Sep 2023 12:00:21 +0200
c6280b99
better twitter regex
Marco Andronaco andronacomarco@gmail.com
Sat, 02 Sep 2023 00:02:16 +0200

EscarBot

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

Features

  1. The bot’s main feature is listening for posts in a channel and forwarding them to a group.
  2. If the bot receives a private message, it will be forwarded to the bot’s admin.
  3. If the bot senses an Instagram, Twitter (X) or YouTube link, it will try to send a custom link with better thumbnail generation.

How to use

Copy the .env.example file into .env and insert the following info: * token: your Telegram Bot Token; * channel_id: the channel the bot will listen to; * group_id: the group that will receive the channel messages; * admin_id: the user that will receive the bot’s private messages.

With poetry

  1. Install dependencies: poetry install;
  2. Start the bot: poetry run python escarbot.

With virtualenv

Create a new virtual environment and install required packages:

python -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Then, start the bot: python main.py.

clone
git clone https://git.birabittoh.duckdns.org/gif-escarbot.git