Typo & Heroku Fix

This commit is contained in:
EverythingSuckz
2021-04-17 22:12:15 +05:30
parent df499680a5
commit 35ea61959e
4 changed files with 11 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ async def start(b, m):
[
InlineKeyboardButton(
f'{emoji.STAR} Source {emoji.STAR}',
url='https://github.com/EverythingSuckz/TG-FlieStreamBot'
url='https://github.com/EverythingSuckz/TG-FileStreamBot'
)
]
]

View File

@@ -13,12 +13,12 @@ from ..utils.custom_dl import TGCustomYield, chunk_size, offset_fix
routes = web.RouteTableDef()
@routes.get("/")
@routes.get("/", allow_head=True)
async def root_route_handler(request):
bot_details = await StreamBot.get_me()
return web.json_response({"status": "running",
"server_permission": "Open",
"bot_associated_w": bot_details.username})
"telegram_bot": '@'+bot_details.username})
@routes.get("/{message_id}")