-
This is a simple userbot made by HARSH-78 for telegram.
-
You can deploy your own DARKBOT and use it.
-
We made this userbot with the help of other userbot on telegram. All credit goes to its respective owners.
-
Make and enjoy your bot ❣️
-
Thanks for visiting our repo💖
🧾INSTRUCTIONS🧾
-
Read carefully
- Fork at your own risk. - Owner will not be responsible for any kinds for ban due to bot. - You can host this project on heroku, Zeet, Uffizi. - Please ask to owner before using codes.
-
To host on heroku click on below link
-
You can host it on also on other VPS
-
Generate String session on repl it
-
Generate by running code on Termux
- Install git package
pkg install git - Clone this repository.
git clone https://github.com/Harsh-78/Dark-Userbot.git - Then Do
cd darkbot - Run String Generator By
bash string.sh - Then Fill The Required Details.
- API ID, API HASH, PHONE NUMBER (WITH COUNTRY CODE)
- Install git package
• THE NORMAL WAY •
Simply clone the repository and run the main file:
git clone https://github.com/Harsh-78/DARK-USERBOT
cd DARKBOT
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
# <Create local_config.py with variables as given below>
python3 -m userbotAn example local_config.py file could be:
Not All of the variables are mandatory
The Userbot should work by setting only the first two variables
from heroku_config import Var
class Development(Var):
APP_ID = 6
API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"• UNIBORG CONFIGURATION •
The UniBorg Config is situated in userbot/uniborgConfig.py.
Heroku Configuration Simply just leave the Config as it is.
Local Configuration Fortunately there are no Mandatory vars for the UniBorg Support Config.
• Mandatory Vars •
- Some of the environment variables are mandatory.
- These are listed below.
APP_ID: You can get this value from hereAPI_HASH: You can get this value from hereENV:ANYTHINGSTRING_SESSION: You can get this value from runningpython3 string_session.pyin termux after cloning this repo. Or just using repl runLOG_GROUP: Make a Channel Or Group and get it's id.DATABASE_URL: Make a database on elephant sql and paste the url.DB_URI: Same asDATABASE_URLBOT_TOKEN: Make a Bot from Botfather and paste the bot token here.BOT_USERNAME: Paste the Username of bot that you made from BotFather.
- The userbot will not work without setting the mandatory vars.
• LICENSE •
Copyright (C) 2021 Harsh-78 Released under GNU by @Harsh-78.
Poject DARKBOT 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/.

