forked from AnonymousX1025/StringGenBot
-
Notifications
You must be signed in to change notification settings - Fork 0
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
4931d48
commit 6bb78de
Showing
8 changed files
with
82 additions
and
82 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.env | ||
*.log | ||
venv/ | ||
*.session | ||
__pycache__/ | ||
*.session-journal | ||
.env | ||
*.log | ||
venv/ | ||
*.session | ||
__pycache__/ | ||
*.session-journal |
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 |
---|---|---|
@@ -1 +1 @@ | ||
worker: bash start | ||
worker: bash start |
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 |
---|---|---|
@@ -1,48 +1,48 @@ | ||
{ | ||
"name": "String Gen Bot", | ||
"description": "A Telegram Bot to generate Telethon and Pyrogram String Session.", | ||
"logo": "https://telegra.ph/file/654ddaf472f18b799600b.jpg", | ||
"keywords": [ | ||
"python3", | ||
"telegram", | ||
"session", | ||
"stringbot", | ||
"telegram-bot", | ||
"pyrogram", | ||
"telethon" | ||
], | ||
"repository": "https://github.com/AnonymousX1025/StringGenBot", | ||
"env": { | ||
"API_ID": { | ||
"description": "Get this value from https://my.telegram.org", | ||
"value": "", | ||
"required": true | ||
}, | ||
"API_HASH": { | ||
"description": "Get this value from https://my.telegram.org", | ||
"value": "", | ||
"required": true | ||
}, | ||
"BOT_TOKEN": { | ||
"description": "A Bot's token from Botfather", | ||
"value": "", | ||
"required": true | ||
}, | ||
"OWNER_ID": { | ||
"description": "Fill your user id here. (Must be integer)", | ||
"value": "", | ||
"required": true | ||
}, | ||
"MONGO_DB_URI": { | ||
"description": "Get this value from cloud.mongodb.com", | ||
"value": "", | ||
"required": true | ||
} | ||
}, | ||
"buildpacks": [ | ||
{ | ||
"url": "heroku/python" | ||
} | ||
"name": "String Gen Bot", | ||
"description": "A Telegram Bot to generate Telethon and Pyrogram String Session.", | ||
"logo": "https://telegra.ph/file/654ddaf472f18b799600b.jpg", | ||
"keywords": [ | ||
"python3", | ||
"telegram", | ||
"session", | ||
"stringbot", | ||
"telegram-bot", | ||
"pyrogram", | ||
"telethon" | ||
], | ||
"stack": "container" | ||
} | ||
"repository": "https://github.com/AnonymousX1025/StringGenBot", | ||
"env": { | ||
"API_ID": { | ||
"description": "Get this value from https://my.telegram.org", | ||
"value": "", | ||
"required": true | ||
}, | ||
"API_HASH": { | ||
"description": "Get this value from https://my.telegram.org", | ||
"value": "", | ||
"required": true | ||
}, | ||
"BOT_TOKEN": { | ||
"description": "A Bot's token from Botfather", | ||
"value": "", | ||
"required": true | ||
}, | ||
"OWNER_ID": { | ||
"description": "Fill your user id here. (Must be integer)", | ||
"value": "", | ||
"required": true | ||
}, | ||
"MONGO_DB_URI": { | ||
"description": "Get this value from cloud.mongodb.com", | ||
"value": "", | ||
"required": true | ||
} | ||
}, | ||
"buildpacks": [ | ||
{ | ||
"url": "heroku/python" | ||
} | ||
], | ||
"stack": "container" | ||
} |
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
from os import getenv | ||
|
||
from dotenv import load_dotenv | ||
|
||
load_dotenv() | ||
|
||
|
||
API_ID = int(getenv("API_ID")) | ||
API_HASH = getenv("API_HASH") | ||
|
||
BOT_TOKEN = getenv("BOT_TOKEN") | ||
MONGO_DB_URI = getenv("MONGO_DB_URI", None) | ||
|
||
OWNER_ID = int(getenv("OWNER_ID", 1356469075)) | ||
SUPPORT_CHAT = getenv("SUPPORT_CHAT", "https://t.me/FallenAssociation") | ||
from os import getenv | ||
|
||
from dotenv import load_dotenv | ||
|
||
load_dotenv() | ||
|
||
|
||
API_ID = int(getenv("API_ID")) | ||
API_HASH = getenv("API_HASH") | ||
|
||
BOT_TOKEN = getenv("BOT_TOKEN") | ||
MONGO_DB_URI = getenv("MONGO_DB_URI", None) | ||
|
||
OWNER_ID = int(getenv("OWNER_ID", 1356469075)) | ||
SUPPORT_CHAT = getenv("SUPPORT_CHAT", "https://t.me/FallenAssociation") |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
motor==3.2.0 | ||
pyromod==2.0.0 | ||
oldpyro==0.1.0 | ||
pyrogram==2.0.106 | ||
python-dotenv==1.0.0 | ||
telethon==1.28.5 | ||
tgcrypto==1.2.5 | ||
motor==3.2.0 | ||
pyromod==2.0.0 | ||
oldpyro==0.1.0 | ||
pyrogram==2.0.106 | ||
python-dotenv==1.0.0 | ||
telethon==1.28.5 | ||
tgcrypto==1.2.5 |
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 |
---|---|---|
@@ -1 +1 @@ | ||
python-3.11.4 | ||
python-3.11.4 |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
API_ID= | ||
API_HASH= | ||
BOT_TOKEN= | ||
OWNER_ID= | ||
MONGO_DB_URI= | ||
API_ID= | ||
API_HASH= | ||
BOT_TOKEN= | ||
OWNER_ID= | ||
MONGO_DB_URI= |
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 |
---|---|---|
@@ -1 +1 @@ | ||
python3 -m StringGen | ||
python3 -m StringGen |