This project is designed to facilitate easy media uploads from Telegram to PixelDrain, providing a seamless integration for file sharing.
/start This is generic like any other bot.
/auth Used to authorise a user and can be used in private mode only. [Owner CMD]
/unauth Used to revoke authorisation. [Owner CMD]
/auths Used to get the the authorised user list. [Owner CMD]
/pdup Used to upload files from a group chat by replying the file with it. [Available for authorised users only]
Requirements & Variables:
API_HASH Your API Hash from Telegram
API_ID Your API ID from Telegram
BOT_TOKEN Your bot token from @BotFather
MONGODB_URI Your MongoDB URI
OWNER_ID Telegram user ID of the Owner
PIXELDRAIN_API_KEY Your Pixeldrain API KEY
Note: Make the required changes in .env file.
git clone https://github.com/Burhanverse/Pixeldrain-Bot.git
cd Pixeldrain-Bot
Setup Virtual Environment:
python -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt