Skip to content
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.DS_Store
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"Save restricted content",
"bot"
],
"repository": "https://github.com/vasusen-code/SaveRestrictedContentBot",
"repository": "https://github.com/nileshya/SaveRestrictedContentBot",
"website": "",
"success_url": "https://t.me/DroneBots",
"success_url": "https://t.me/tdbuf3",
"env": {
"API_HASH": {
"description": "Your API HASH from my.telegram.org",
Expand Down
10 changes: 10 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
return 'GreyMatters'


if __name__ == "__main__":
app.run()
2 changes: 1 addition & 1 deletion main/plugins/pyroplug.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def get_msg(userbot, client, bot, sender, edit_id, msg_link, i):
msg_link = msg_link.split("?single")[0]
msg_id = int(msg_link.split("/")[-1]) + int(i)
height, width, duration, thumb_path = 90, 90, 0, None
if 't.me/c/' or 't.me/b/' in msg_link:
if 't.me/c/' in msg_link or 't.me/b/' in msg_link:
if 't.me/b/' in msg_link:
chat = str(msg_link.split("/")[-2])
else:
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ cryptg
tgcrypto
pyrogram
python-decouple
Flask==2.2.5
gunicorn==21.2.0
aiohttp==3.8.5
1 change: 1 addition & 0 deletions run cmd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gunicorn app:app & python -m main