/COOKIEBOT-Telegram-Group-Bot

Conversational AI group bot for Telegram. It can also schedule posts, combat raiders/spammers, generate memes, scrape images, provide drawing ideas, call all members and more!

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

COOKIEBOT-Telegram-Group-Bot

Telegram chatbot responsible for protecting chats against spammers, conversating using natural language, perform speech-to-text, search media, schedule posts and provides fun features for events.

Installation on Ubuntu

sudo apt update
sudo apt-get install git-all
sudo apt install python3.11
sudo apt install python3-pip
sudo apt install ffmpeg
sudo apt-get install libmagickwand-dev
sudo apt-get install screen
git clone https://github.com/MekhyW/COOKIEBOT-Telegram-Group-Bot.git
cd COOKIEBOT-Telegram-Group-Bot
pip3 install -r requirements.txt --break-system-packages
cd ..
git clone https://github.com/MekhyW/telepota.git
cd telepota
pip3 install . --break-system-packages

Provide credentials

cd Bot
nano cookiebot_backendauth.json # Add your credentials
nano cookiebot_basecredentials.json # Add your credentials

Set timezone

timedatectl list-timezones
sudo timedatectl set-timezone <your_time_zone>
timedatectl

Run the bot

screen
python3.11 LAUNCHER.py [isBombot] # Run with process monitoring
python3.11 COOKIEBOT.py [isBombot] # Run without process monitoring
# Press CTRL+A+D to detach from the screen