Mdisk-Downloader-Bot
Mdisk-Downloader-Bot copied to clipboard
A Telegram Mdisk Video Downloader Bot, You can watch Downloaded Videos without MX player
Mdisk Downloader Bot
A Telegram MDisk Video Downloader Bot, You can watch downloaded Videos without MX player (bypass mdisk requirements)
This project is partly possible because of the donations from 𝓐 𝓙𝓪𝓴𝓱𝓪𝓻
Variables
You can use config.json instead of ENVs
Required
HASHYour API Hash from my.telegram.orgIDYour API ID from my.telegram.orgTOKENYour bot token from @BotFather
Control (optionals)
AUTHList of Authenticated User's ID seperated by a space (everyone can use the bot if it is empty)BANList of Banned User's ID seperated by a space (everyone can use the bot if it is empty)OWNERList of Owner User's ID seperated by a space (no one is owner if it is empty)
Premium Features (optionals) (only use this if you have Premium Account) (both are needed if any one is set)
STRINGPremium User String SessionTEMP_CHATUsername or ID of Chat (Channel or Group, Private, Public), both User account and Bot should have access to messages in that chat (basically a log chat but required not optional)
Force Join (both are needed if any one is set)
TARGETChat's ID or UsernameLINKChat's joining Link
Commands
For Normal Users
start - Start Message
help - List of Commands
mdisk - Usage
thumb - Reply to a Image of size less than 200KB to set it as Thumbnail
remove - Remove Thumbnail
show - Show Thumbnail
change - Change Upload Mode (Document/Stream)
For Owners
It is temporary, once bot is redoplyed or config file is deleted it will go back to default values
auth - Auth a user
unauth - UnAuth a user
ban - Ban a user
unban - UnBan a user
members - see the list of Owners,Auths,Bans
Running Locally
Clone the repositary
git clone https://github.com/bipinkrish/Mdisk-Downloader-Bot.git
cd Mdisk-Downloader-Bot
open config.json file and set the variables and start the bot
python main.py