Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Badhacker98 authored Sep 5, 2024
1 parent 65ffd91 commit d722f88
Show file tree
Hide file tree
Showing 11 changed files with 825 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
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
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
worker: python3 -m BadX
17 changes: 17 additions & 0 deletions README.md
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>
53 changes: 53 additions & 0 deletions app.json
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"
}
]
}
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: "1"
services:
app:
build: .
5 changes: 5 additions & 0 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build:
docker:
worker: Dockerfile
run:
worker: python3 -m BadX
3 changes: 3 additions & 0 deletions koyeb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build:
docker:
worker: Dockerfile
10 changes: 10 additions & 0 deletions requirements.txt
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
17 changes: 17 additions & 0 deletions semple.env
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=
32 changes: 32 additions & 0 deletions sh.py
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")

0 comments on commit d722f88

Please sign in to comment.