Hey, welcome to our userbot!
All of the setup instructions are in this README, read carefully!
First of all, this bot requires Python 3 (minimum 3.5) and a modern-ish OS (preferably Linux-based)
Step by step explanation:
-
Update package list
sudo apt update
-
Install required packages
sudo apt install python3 python3-pip git
-
Install optional modular dependencies (required for some modules)
# Pillow for stickers/kang
sudo apt install python3-dev libwebp-dev libz-dev libjpeg-dev
# Utilities
sudo apt install neofetch
# UI
sudo apt install dialog
- Clone the source code
cd
git clone https://github.com/penn5/friendly-telegram
cd friendly-telegram
- Install requirements
python3 -m pip install cryptg
python3 -m pip install -r friendly-telegram/requirements.txt
-
Follow the instructions written here to get your API key/hash and ID
-
Run the configuration script
python3 -m friendly-telegram --setup
-
On the newly opened menu, select "API Key/hash and ID" When prompted, enter your API key/hash and ID
cd ~/friendly-telegram
python3 -m friendly-telegram
Try typing .help in any Telegram chat while the bot is running
Use Termux
pkg install git python-dev libjpeg-turbo-dev zlib-dev libwebp-dev libffi-dev build-essential dialog neofetch
git clone https://github.com/penn5/friendly-telegram
cd friendly-telegram
pip install cryptg
pip install -r requirements.txt
# For setup
python -m friendly-telegram --setup
# And again for actual execution
python -m friendly-telegram
Make sure to enable the wakelock from Termux notification, especially on MIUI
- All terminal related features don't work. I'll fix it later.
Untested. No reason it shouldn't work.
These are basically just Linux. They will work with some effort to get the API token and session file over.