- Clone the repo.
git clone https://github.com/The-LegendBot/LEGENDUSERBOT.git
- Open Cloned Folder.
cd LEGENDUSERBOT
- Create VirtualEnv.
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
- Install Requirements.
pip install -U -r requirements.txt
- Generate Legend STRING.
python LegendString.py
- Create config.py or rename exampleconfig.py to config.py. Fill All The Required Variables.
- Finally Start LegendBot By Vps
bash start.sh
APP_ID
= Get this value from my.telegram.orgAPI_HASH
= Get this value from my.telegram.orgTUTORIAL_STRING
= Get this by using Repl.it or from terminalLOGGER_ID
= Make A Channel And Get it's ID.BOT_TOKEN
= Make A Bot From @BotFather and paste it's token.BOT_USERNAME
= Get the username of that Bot made from @Botfather
-To Get Details Of StringSession Follow Step:
- Go To Telegram And Search @UseTGXBot
- Click Start
- Send Ur Phone Number To @UseTGXBot
- U Received Code From Telegram Like This=VGFK0rHbzaF
- Copy Ur Code
- Paste Ur Code in @UseTGXBot
- U Received APP ID
- Now Run StringSession Given Below:
- Click On Generate String
- Then Click On Green Run Button.
- Wait for a while then fill the details.
- String will be saved in your Saved Message.
- Open the terminal.
- Paste this code.
pkg install python wget -y && pip install telethon && wget https://raw.githubusercontent.com/LEGEND-BOYOP/TUTORIALUSERBOT/master/LegendString.py && python3 LegendString.py
- Fill API ID, API HASH, Phone number (with country code).
- Paste the OTP received on Telegram.
- If You have Enabled 2-Step Verification then fill your password.
- Note that Termux Doesn't show passwords when filled. Just paste your password and hit enter.
- Your LegendBot Session Will be saved in your Telegram Saved Message.
- We won't be responsible for any kind of ban due to this bot.
- TutorialBot was made for fun purpose and to make group management easier.
- It's your concern if you spam and gets your account banned.
- Also, Forks won't be entertained.
- If you fork this repo and edit plugins, it's your concern for further updates.
- Forking Repo is fine. But if you edit something we will not provide any help.
- In short, Fork At Your Own Risk.
• LICENSE •
The-LegendBot
Poject LEGENDBOT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.