-
Termux
- Install git package
pkg install git
- Clone this repository.
git clone https://github.com/W2HGalaxy-OP/W2HBOT.git
- Then Do
cd W2HBOT
- Run String Generator By
bash string.sh
- Then Fill The Required Details.
- API ID, API HASH, PHONE NUMBER (WITH COUNTRY CODE)
- Install git package
-
Repl Run
- Click On Generate string
- Then Click On Green Play Button.
- Wait for a while then fill the details.
- String will be saved in your Saved Message.
- Choose A Hosting Site. And fill the 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
:ANYTHING
STRING_SESSION
: You can get this value from runningpython3 string_session.py
in 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_URL
BOT_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.
Get help regarding setting up
your W2HBOT in our official
support Group and get updates
notifications in Update Channel.
Copyright (C) 2021 W2HGalaxy-OP
Poject W2HBOT 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/.