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 AnimeLord Bots

License

Notifications You must be signed in to change notification settings

AnimeLord-Bots/FileStore

Repository files navigation

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

──「 ᴀɴɪᴍᴇ ʟᴏʀᴅ ʙᴏᴛ 」──

Typing SVG

ᴀ ᴘᴏᴡᴇʀғᴜʟ ᴛᴇʟᴇɢʀᴀᴍ ʙᴏᴛ ᴛᴏ sᴛᴏʀᴇ, sʜᴀʀᴇ, ᴀɴᴅ ʀᴇɴᴀᴍᴇ ғɪʟᴇs ᴡɪᴛʜ ᴘᴇʀᴍᴀɴᴇɴᴛ ʟɪɴᴋs, ᴘʀᴇᴍɪᴜᴍ ғᴇᴀᴛᴜʀᴇs, ᴀɴᴅ ᴀ ᴛᴏᴜᴄʜ ᴏғ ᴋᴀᴡᴀɪɪ sᴇɴᴘᴀɪ ᴄʜᴀʀᴍ! (✿◡‿◡) ━━━━━━━━━━━━━━━━━

📌 ғᴇᴀᴛᴜʀᴇs:

🚀 Key Features:

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
Premium System: Manage premium users using /addpremium, /remove_premium, /premium_users, /myplan
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
Token Verification: Enable or disable optional secure access

✨ 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

Token Variables

  • SHORTLINK_URL = (OPTIONAL) Your shortner Url ( ex. "inshorturl.com")
  • SHORTLINK_API = (OPTIONAL) Your shortner API (ex. "PUIAQBIFrydvLhIzAOeGV8yZppu")
- ᴄᴏᴍᴍᴀɴᴅs:

🎮 ᴄᴏᴍᴍᴀɴᴅs

start - sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ ᴏʀ ɢᴇᴛ ᴘᴏsᴛs
batch - ᴄʀᴇᴀᴛᴇ ʟɪɴᴋs ғᴏʀ ᴍᴜʟᴛɪᴘʟᴇ ᴘᴏsᴛs
flink - ꜱᴇᴛ ᴀᴜᴛᴏ ʙᴀᴛᴄʜ ꜰᴏʀᴍᴀᴛ
custom_batch - ᴄʀᴇᴀᴛᴇ ᴄᴜsᴛᴏᴍ ʙᴀᴛᴄʜ ғʀᴏᴍ ᴄʜᴀɴɴᴇʟ/ɢʀᴏᴜᴘ
genlink - ᴄʀᴇᴀᴛᴇ ʟɪɴᴋ ғᴏʀ ᴀ sɪɴɢʟᴇ ᴘᴏsᴛ
myplan - ᴄʜᴇᴄᴋ ᴘʀᴇᴍɪᴜᴍ sᴛᴀᴛᴜs
count - ᴄᴏᴜɴᴛ sʜᴏʀᴛᴇɴᴇʀ ᴄʟɪᴄᴋs
users - ᴠɪᴇᴡ ʙᴏᴛ sᴛᴀᴛɪsᴛɪᴄs [ᴀᴅᴍɪɴ]
broadcast - ʙʀᴏᴀᴅᴄᴀsᴛ ᴍᴇssᴀɢᴇs ᴛᴏ ᴜsᴇʀs [ᴀᴅᴍɪɴ]
dbroadcast - ʙʀᴏᴀᴅᴄᴀsᴛ ᴡɪᴛʜ ᴀᴜᴛᴏ-ᴅᴇʟᴇᴛᴇ [ᴀᴅᴍɪɴ]
pbroadcast - ᴘɪɴ ʙʀᴏᴀᴅᴄᴀsᴛ ᴛᴏ ᴀʟʟ ᴜsᴇʀs [ᴀᴅᴍɪɴ]
stats - ᴄʜᴇᴄᴋ ʙᴏᴛ ᴜᴘᴛɪᴍᴇ [ᴀᴅᴍɪɴ]
dlt_time - sᴇᴛ ᴀᴜᴛᴏ-ᴅᴇʟᴇᴛᴇ ᴛɪᴍᴇ [ᴀᴅᴍɪɴ]
check_dlt_time - ᴄʜᴇᴄᴋ ᴅᴇʟᴇᴛᴇ ᴛɪᴍᴇ [ᴀᴅᴍɪɴ]
ban - ʙᴀɴ ᴀ ᴜsᴇʀ [ᴀᴅᴍɪɴ]
unban - ᴜɴʙᴀɴ ᴀ ᴜsᴇʀ [ᴀᴅᴍɪɴ]
banlist - ʟɪsᴛ ʙᴀɴɴᴇᴅ ᴜsᴇʀs [ᴀᴅᴍɪɴ]
addchnl - ᴀᴅᴅ ғᴏʀᴄᴇ-sᴜʙ ᴄʜᴀɴɴᴇʟ [ᴀᴅᴍɪɴ]
delchnl - ʀᴇᴍᴏᴠᴇ ғᴏʀᴄᴇ-sᴜʙ ᴄʜᴀɴɴᴇʟ [ᴀᴅᴍɪɴ]
listchnl - ᴠɪᴇᴡ ғᴏʀᴄᴇ-sᴜʙ ᴄʜᴀɴɴᴇʟs [ᴀᴅᴍɪɴ]
fsub_mode - ᴛᴏɢɢʟᴇ ғᴏʀᴄᴇ-sᴜʙsᴄʀɪʙᴇ [ᴀᴅᴍɪɴ]
add_admin - ᴀᴅᴅ ɴᴇᴡ ᴀᴅᴍɪɴ [ᴀᴅᴍɪɴ]
deladmin - ʀᴇᴍᴏᴠᴇ ᴀᴅᴍɪɴ [ᴀᴅᴍɪɴ]
admins - ʟɪsᴛ ᴀʟʟ ᴀᴅᴍɪɴs [ᴀᴅᴍɪɴ]
addpremium - ɢʀᴀɴᴛ ᴘʀᴇᴍɪᴜᴍ ᴀᴄᴄᴇss [ᴀᴅᴍɪɴ]
premium_users - ʟɪsᴛ ᴘʀᴇᴍɪᴜᴍ ᴜsᴇʀs [ᴀᴅᴍɪɴ]
remove_premium - ʀᴇᴠᴏᴋᴇ ᴘʀᴇᴍɪᴜᴍ ᴀᴄᴄᴇss [ᴀᴅᴍɪɴ]

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

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

Deploy On Heroku

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

Deploy On Koyeb

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

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

Deploy to Render

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

git clone https://github.com/AnimeLord-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 」

Typing SVG

Typing SVG

Typing SVG

Typing SVG

Typing SVG

📌 ɴᴏᴛᴇ

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

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 AnimeLord Bots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages