A SIMPLE TELEGRAM USERBOT WITH TELETHON
-
Tutorial to get Redis URL and password - here.
Get the Necessary Variables and then click the button below!
- Get your Necessary Variables
- Clone the repository:
git clone https://github.com/coolfoolunidentifiedhacker/INFINATO-UB.git
- Go to the cloned folder:
cd INFINATO-UB
- Create a virtual env:
virtualenv -p /usr/bin/python3 venv
../venv/bin/activate
- Install the requirements:
pip3 install -U -r requirements.txt
- Generate your
SESSION
:- Go to
https://replit.com/@INFINATO/INFINATO-UB-SESSION-BUILDER
- Or
python3 resources/session/ssgen.py
- Go to
- Fill your details in a
.env
file, as given in.env.sample
. (You can either edit and rename the file or make a new file named.env
.) - Run the bot:
- Linux Users:
bash resources/startup/startup.sh
- Windows Users:
python3 -m infinatoUserbot
- Linux Users:
API_ID
- Your API_ID from my.telegram.orgAPI_HASH
- Your API_HASH from my.telegram.orgSESSION
- SessionString for your accounts login session. Get it from hereBOT_TOKEN
- The token of your bot from @BotFatherLOG_CHANNEL
- A private group/channel id.REDIS_URI
- Redis endpoint URL, from redislabs, tutorial here.REDIS_PASSWORD
- Redis endpoint Password, from redislabs, tutorial here.