diff --git a/README.md b/README.md index 5e49d03..2b9cebe 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ ## Deploy on Heroku :- -

+


## "Item could not be created" error on Heroku and how to overcome it diff --git a/tobrot/__init__.py b/tobrot/__init__.py index 468a17d..8b92f68 100644 --- a/tobrot/__init__.py +++ b/tobrot/__init__.py @@ -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" diff --git a/tobrot/plugins/incoming_message_fn.py b/tobrot/plugins/incoming_message_fn.py index 390e74d..38de4fa 100644 --- a/tobrot/plugins/incoming_message_fn.py +++ b/tobrot/plugins/incoming_message_fn.py @@ -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 🤕", 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) diff --git a/tobrot/plugins/status_message_fn.py b/tobrot/plugins/status_message_fn.py index a1aaad1..83a83a3 100644 --- a/tobrot/plugins/status_message_fn.py +++ b/tobrot/plugins/status_message_fn.py @@ -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)