Skip to content

A powerful Telegram bot that stores posts and documents, accessible via unique links. Includes customizable auto-delete settings, support for Multi Force Subscribe channels, and optional token verification. Designed for flexibility and deployable on platforms like Heroku & Koyeb. 🔗 Explore branches for ForceSub & token modules. by Codeflix Bots

License

Notifications You must be signed in to change notification settings

Codeflix-Bots/FileStore

Repository files navigation

━━━━━━━━━━━━━━━━━━━━

──「 ғɪʟᴇ sᴛᴏʀᴇ ᴘʀᴏ 」──

Typing SVG

━━━━━━━━━━━━━━━━━

ғᴇᴀᴛᴜʀᴇs:

Batch & Custom Batch Links: Create links for one or multiple posts easily using /batch & /custom_batch
Link Generator: Instantly generate direct links with /genlink
Broadcast Tools: Send messages or media to all users using /broadcast, /dbroadcast, or /pbroadcast
Auto File Deletion: Control auto-delete with /dlt_time & /check_dlt_time
User Management: Ban/unban users and view banlist via /ban, /unban, and /banlist
Multi Force Subscription: Add, delete, and manage multiple Force Sub channels with /addchnl, /delchnl, /listchnl
Admin Control: Add or remove admins with /add_admin, /deladmin, and view list via /admins

Bot Analytics: Get stats and uptime via /stats, user info with /users, and database count via /count
Deployment Ready: Easily deploy on Heroku or Koyeb in minutes

✨ More features & enhancements coming soon...

ᴠᴀʀɪᴀʙʟᴇs :

ᴠᴀʀɪᴀʙʟᴇs

  • API_HASH Your API Hash from my.telegram.org
  • APP_ID Your API ID from my.telegram.org
  • TG_BOT_TOKEN Your bot token from @BotFather
  • OWNER_ID Must enter Your Telegram Id
  • CHANNEL_ID Your Channel ID eg:- -100xxxxxxxx
  • DATABASE_URL Your mongo db url
  • DATABASE_NAME Your mongo db session name
  • ADMINS Optional: A space separated list of user_ids of Admins, they can only create links
  • START_MESSAGE Optional: start message of bot, use HTML and fillings
  • PROTECT_CONTENT Optional: True if you need to prevent files from forwarding

𝐶𝑜𝑚𝑚𝑎𝑛𝑑𝑠

/start - start the bot or get posts
/batch - create link for more than one posts
/genlink - create link for one post
/users - view bot statistics
/broadcast - broadcast any messages to bot users
/dbroadcast - broadcast any messages with auto delete.
/stats - checking your bot uptime
/start - start the bot or get posts  
/batch - create link for more than one posts  
/custom_batch - create custom batch from channel/group  
/genlink - create link for one post  
/users - view bot statistics  
/broadcast - broadcast any messages to bot users  
/dbroadcast - broadcast any messages with auto delete  
/stats - check your bot uptime  
/dlt_time - set auto delete time for files  
/check_dlt_time - check current delete time setting  
/ban - ban a user from using the bot  
/unban - unban a previously banned user  
/banlist - get list of banned users  
/addchnl - add a channel for force subscription  
/delchnl - remove a force subscribe channel  
/listchnl - view all added force subscribe channels  
/fsub_mode - toggle force subscribe on or off  
/pbroadcast - pin a broadcast to all user's chat 
/add_admin - add a new admin  
/deladmin - remove an admin  
/admins - list all current admins  

「 ᴏᴛʜᴇʀ ʙʀᴀɴᴄʜᴇs 」

- ᴅᴇᴘʟᴏʏᴍᴇɴᴛ ᴍᴇᴛʜᴏᴅs

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʜᴇʀᴏᴋᴜ 」─

Deploy On Heroku

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ᴋᴏʏᴇʙ 」─

Deploy On Koyeb

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʀᴀɪʟᴡᴀʏ 」─

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʀᴇɴᴅᴇʀ 」─

Deploy to Render

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ᴠᴘs 」─

git clone https://github.com/Codeflix-Bots/FileStore
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py

「 ᴄʀᴇᴅɪᴛs 」

ᴀɴᴅ ᴀʟʟ ᴛʜᴇ ᴄᴏɴᴛʀɪʙᴜᴛᴏʀs ᴡʜᴏ ʜᴇʟᴩᴇᴅ ɪɴ ᴍᴀᴋɪɴɢ file store ʙᴏᴛ ᴜsᴇꜰᴜʟ & ᴩᴏᴡᴇʀꜰᴜʟ 🖤

📌 𝑵𝒐𝒕𝒆

ᴊᴜꜱᴛ ꜰᴏʀᴋ ᴛʜᴇ ʀᴇᴘᴏ ᴀɴᴅ ᴇᴅɪᴛ ᴀꜱ ᴘᴇʀ ʏᴏᴜʀ ɴᴇᴇᴅꜱ.

About

A powerful Telegram bot that stores posts and documents, accessible via unique links. Includes customizable auto-delete settings, support for Multi Force Subscribe channels, and optional token verification. Designed for flexibility and deployable on platforms like Heroku & Koyeb. 🔗 Explore branches for ForceSub & token modules. by Codeflix Bots

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages