ππ·π΄ π²π»πΎπ½π΄ πΎπ΅
π₯ ππ·π΄ πΌπ°π΅πΈπ°π±πΎπ π₯
β‘ πΌπ°π΅πΈπ° πππ΄ππ±πΎπ β‘
The owner would not be responsible for any kind of bans due to the bot.
FORK AT YOUR OWN RISK
β’ INSTALLING β’
The Easy Way
βοΈ DEPLOY TO HEROKU βοΈ
β‘ ππ·π΄ πΌπ°π΅πΈπ°π±πΎπ β‘
β
Official Supports
Get help regarding setting up
your MAFIABOT in our official
support Group and get updates
notifications in Update Channel.
βοΈ Set-Up βοΈ
Generate String Session
-
Termux
- Clone
git clone https://github.com/MafiaBotOP/MafiaBot.git
- Then Do
cd MAFIA-BOT
- Run String Generator By
bash string.sh
- Then Fill The Required Details.
- API ID, API HASH, PHONE NUMBER (WITH COUNTRY CODE)
- Clone
-
Repl Run
- Click Here to open Repl run.
- Click On Green Play Button.
- Wait for a while then fill the details.
- String will be saved in your Saved Message.
π
HOSTING
- Choose A Hosting Site. And fill the mandatory vars.
Deploys
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.
β’ LICENSE β’
Copyright (C) 2021 H1M4N5HU0P
Poject πΌπ°π΅πΈπ°π±πΎπ 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/.