Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

## Deploy on Heroku :-

<p><a href="https://heroku.com/deploy?template=https://github.com/GopalSaraf/TorrentLeechBot/tree/master)"> <img src="https://www.herokucdn.com/deploy/button.svg" width="150"/></a></p>
<p><a href="https://heroku.com/deploy?template=https://github.com/Msdph/TorrentLeechBot)"> <img src="https://www.herokucdn.com/deploy/button.svg" width="150"/></a></p>
<br>

## "Item could not be created" error on Heroku and how to overcome it
Expand Down
10 changes: 5 additions & 5 deletions tobrot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
exit()

# The Telegram API things
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "")
APP_ID = int(os.environ.get("APP_ID", ""))
API_HASH = os.environ.get("API_HASH", "")
OWNER_ID = int(os.environ.get("OWNER_ID", ""))
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "5231953052:AAH4RuM8ZGrz9K0e3P6uXsXkoEEqQT2vIHk")
APP_ID = int(os.environ.get("APP_ID", "2669389"))
API_HASH = os.environ.get("API_HASH", "59f112100d19186dc03cd93fb7f2904a")
OWNER_ID = int(os.environ.get("OWNER_ID", "1167520990"))

# Get these values from my.telegram.org
# to store the channel ID who are authorized to use the bot
AUTH_CHANNEL = [int(x) for x in os.environ.get("AUTH_CHANNEL", "").split()]
AUTH_CHANNEL = [int(x) for x in os.environ.get("AUTH_CHANNEL", "-1001684448513").split()]

# the download location, where the HTTP Server runs
DOWNLOAD_LOCATION = "./DOWNLOADS"
Expand Down
2 changes: 1 addition & 1 deletion tobrot/plugins/incoming_message_fn.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def incoming_message_f(client, message):
user_command = message.command[0]
g_id = message.from_user.id
credit = await message.reply_text(
f"🧲 Leeching for you <a href='tg://user?id={g_id}'>🤕</a>", parse_mode="html"
f"🧲 Leeching for you {g_id}🤕"
)
# get link from the incoming message
i_m_sefg = await message.reply_text("processing...", quote=True)
Expand Down
3 changes: 2 additions & 1 deletion tobrot/plugins/status_message_fn.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ async def upload_as_video(client, message):
await message.reply_text("**🗞 Your Files Will Be Uploaded As Streamable 🎞**")


async def status_message_f(client, message):
async def status_message_f(client, messagesss):
aria_i_p = await aria_start()
# Show All Downloads
#await message.reply_text("🗞 start 🎞")
to_edit = await message.reply(".......")
await message.delete()
chat_id = int(message.chat.id)
Expand Down