-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65ffd91
commit d722f88
Showing
11 changed files
with
825 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM debian:latest | ||
|
||
RUN apt update && apt upgrade -y | ||
RUN apt install git curl python3-pip ffmpeg -y | ||
RUN pip3 install -U pip | ||
COPY . /app | ||
WORKDIR /app | ||
RUN pip3 install -U -r requirements.txt | ||
CMD python3 -m BadX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
worker: python3 -m BadX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<p align="center"><a href="https://t.me/PyXen"><img src="https://telegra.ph/file/3063af27d9cc8580845e1.jpg" width="400"></a></p> | ||
</p> | ||
<h6 align="center"> | ||
<b>• sᴘᴀᴍ x ʙʏ ʙᴀᴅ •</b> | ||
</h6> | ||
|
||
---- | ||
|
||
<h3 align="center">Deployment</h3> | ||
|
||
- Heroku: [Click Here](https://github.com/Badhacker98/Spam_X_bot/blob/main/badmunda/heroku.md) | ||
|
||
|
||
### Contact : | ||
<a href="https://t.me/II_BAD_MUNDA_II"><img title="Telegram" src="https://img.shields.io/badge/Telegram-%23000000.svg?&style=for-the-badge&logo=telegram&logoColor=61DAFB"></a> | ||
<a href="https://mail.google.com/mail/?view=cm&fs=1&[email protected]"><img title="GMAIL" src="https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white"></a> | ||
<a href="https://instagram.com/lll_bad_munda_lll"><img title="Instagram" src="https://img.shields.io/badge/instagram-%23E4405F.svg?&style=for-the-badge&logo=instagram&logoColor=white"></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"name": "BadX - BadMundaX", | ||
"description": "A Pyrogram Based Spam Bots, Fast And Stable", | ||
"logo": "https://telegra.ph/file/ec832fc9107fd21edfee3.jpg", | ||
"keywords": [ | ||
"telegram", | ||
"PYROGRAM", | ||
"telegram-bot", | ||
"SpamX", | ||
"BadX" | ||
], | ||
"repository": "https://github.com/Badhacker98/Spam_X_bot", | ||
"website": "https://github.com/Badhacker98", | ||
"success_url": "https://t.me/HEROKUBIN_01", | ||
"env": { | ||
"API_ID": { | ||
"description": "Fill Api ID Take this value from My.telegram.org", | ||
"value": "", | ||
"required": true | ||
}, | ||
"API_HASH": { | ||
"description": "Fill Api hash Take this value from My.telegram.org", | ||
"value": "", | ||
"required": true | ||
}, | ||
"ASSISTANT_TOKEN": { | ||
"description": "Bot token od assistant!", | ||
"value": "", | ||
"required": true | ||
}, | ||
"OWNER_ID": { | ||
"description": "Owner ID", | ||
"value": "", | ||
"required": true | ||
}, | ||
"LOGGER_ID": { | ||
"description": "Logs Group ID (Make A Private Group And Add Your All Spam id Their)", | ||
"value": "", | ||
"required": true | ||
}, | ||
"DATABASE_URL": { | ||
"description": "Fill MongoDB database url. get from mongodb.com", | ||
"value": "", | ||
"required": true | ||
} | ||
|
||
}, | ||
"buildpacks":[ | ||
{ | ||
"url": "heroku/python" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
version: "1" | ||
services: | ||
app: | ||
build: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
build: | ||
docker: | ||
worker: Dockerfile | ||
run: | ||
worker: python3 -m BadX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
build: | ||
docker: | ||
worker: Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
pyrogram | ||
pyroaddon | ||
tgcrypto | ||
python-dotenv[cli] | ||
python-dotenv | ||
gitpython | ||
psutil | ||
py-cpuinfo | ||
telegraph | ||
pymongo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
#-------- Required Variables --------# | ||
|
||
API_ID= | ||
API_HASH= | ||
OWNER_ID= | ||
ASSISTANT_TOKEN= | ||
DATABASE_URL= | ||
LOGGER_ID= | ||
|
||
#-------- Extra If You Want --------# | ||
|
||
HANDLER= | ||
PING_MSG= | ||
ALIVE_MSG= | ||
ALIVE_MEDIA= | ||
MULTITASK= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import os | ||
from resources import setupBadX, evn_vars, clear, ask | ||
|
||
os.system("clear") | ||
|
||
# ------ main ------ # | ||
start = str(input(f"{ask}Want to fill vars ? if yes type Y/yes else press enter: ")) | ||
if start.lower() in ['y', 'yes']: | ||
if os.path.exists(".env"): | ||
x = open(".env", "r") | ||
check = x.read() | ||
lines = check.splitlines() | ||
x.close() | ||
if not len(lines) == 11: | ||
os.system("rm -rf .env") | ||
y = open(".env", "w") | ||
y.write(evn_vars) | ||
y.close() | ||
os.system("clear") | ||
setupBadX() | ||
else: | ||
os.system("clear") | ||
setupBadX() | ||
elif not os.path.exists(".env"): | ||
y = open(".env", "w") | ||
y.write(evn_vars) | ||
y.close() | ||
os.system("clear") | ||
setupBadX() | ||
else: | ||
clear() | ||
os.system("python3 -m BadX") |