Skip to content

Latest commit

 

History

History
45 lines (39 loc) · 1.25 KB

README.md

File metadata and controls

45 lines (39 loc) · 1.25 KB

ToCatBoBot

ToCatBoxBot is a Telegram bot designed to upload files directly to CatBox.

🧐 Features

  • 📤 Fast Uploads: Quickly upload files to CatBox with a single click.
  • 🔗 Direct Links: Get a direct download link immediately after the upload.

Installation & Setup

Clone the Repository:

git clone https://github.com/XBej/ToCatBoxBot.git
cd ToCatBoxBot

Install Dependencies:

pip install -r requirements.txt

Configure the Bot:

Before running the bot, replace the placeholders with your own credentials:

Apiid = "YOUR_API_ID"
ApiHash = "YOUR_API_HASH"
Token = "YOUR_BOT_TOKEN"

How to Get API Credentials:

  • Go to my.telegram.org.
  • Log in with your phone number.
  • Click on "API Development Tools".
  • Copy your API ID and API Hash.

How to Get Bot Token:

  • Open Telegram and search for BotFather.
  • Start a chat and send /newbot.
  • Follow the instructions and copy the generated Bot Token.

Run the Bot:

python bot.py

🙇 Author

Omar Ashraf