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

@@ -1,7 +1,7 @@
<h1 align="center">Telegram File Stream Bot</h3>
<p align="center">
<a href="https://github.com/EverythingSuckz/TG-FileStreamBot">
<img src="https://socialify.git.ci/EverythingSuckz/TG-FlieStreamBot/image?description=1&font=Source%20Code%20Pro&forks=1&issues=1&logo=https%3A%2F%2Fwww.flaticon.com%2Fpremium-icon%2Ficons%2Fsvg%2F2321%2F2321089.svg&pattern=Circuit%20Board&pulls=1&stargazers=1&theme=Dark" alt="Cover Image" height=400>
<img src="https://socialify.git.ci/EverythingSuckz/TG-FileStreamBot/image?description=1&font=Source%20Code%20Pro&forks=1&issues=1&logo=https%3A%2F%2Fwww.flaticon.com%2Fpremium-icon%2Ficons%2Fsvg%2F2321%2F2321089.svg&pattern=Circuit%20Board&pulls=1&stargazers=1&theme=Dark" alt="Cover Image" height=400>
</a>
<p align="center">
A Telegram bot to stream files to web
@@ -74,8 +74,8 @@ then goto the <a href="#mandatory-vars">variables tab</a> for more info on setti
### Host it on VPS or Locally
```sh
git clone https://github.com/EverythingSuckz/TG-FlieStreamBot
cd TG-FlieStreamBot
git clone https://github.com/EverythingSuckz/TG-FileStreamBot
cd TG-FileStreamBot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt

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}")

View File

@@ -1,5 +1,5 @@
{
"name": "TG-FlieStreamBot",
"name": "TG-FileStreamBot",
"description": "A Pyrogram Telegram bot to Stream Telegram files to web.",
"keywords": [
"telegram",
@@ -12,8 +12,9 @@
"modular",
"media"
],
"repository": "https://github.com/EverythingSuckz/TG-FlieStreamBot",
"success_url": "https://telegram.dog/WhyThisUsername",
"repository": "https://github.com/EverythingSuckz/TG-FileStreamBot",
"success_url": "/",
"logo": "https://telegra.ph/file/9d63060a06c6fc6def1da.png",
"website": "stream.wrench.gq",
"env": {
"ENV": {
@@ -60,7 +61,7 @@
"url": "heroku/python"
}],
"formation": {
"worker": {
"web": {
"quantity": 1,
"size": "free"
}