Skip to content

Commit

Permalink
Something
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymousX1025 authored Jul 8, 2023
1 parent 4931d48 commit 6bb78de
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 82 deletions.
12 changes: 6 additions & 6 deletions .gitignore
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
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
worker: bash start
worker: bash start
92 changes: 46 additions & 46 deletions app.json
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"
}
30 changes: 15 additions & 15 deletions config.py
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")
14 changes: 7 additions & 7 deletions requirements.txt
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
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.11.4
python-3.11.4
10 changes: 5 additions & 5 deletions sample.env
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=
2 changes: 1 addition & 1 deletion start
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python3 -m StringGen
python3 -m StringGen

0 comments on commit 6bb78de

Please sign in to comment.