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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

──「 ғɪʟᴇ sᴛᴏʀᴇ ᴘʀᴏ - ʙʏ ʏᴀᴛᴏ 」──

Stars License Python

𝗗𝗘𝗣𝗟𝗢𝗬𝗠𝗘𝗡𝗧 𝗠𝗘𝗧𝗛𝗢𝗗𝗦

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

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

- ғᴇᴀᴛᴜʀᴇs ᴀɴᴅ ᴅᴇᴄʀɪᴘᴛɪᴏɴ:

ғᴇᴀᴛᴜʀᴇs

›› ʀᴇǫᴜᴇsᴛ ғᴏʀᴄᴇ sᴜʙ:

The most demanding aspect is the Request Force-Sub feature. By enabling Request Force-Sub mode, users are provided with a private channel link along with a join request. This feature adds versatility, allowing for greater flexibility in managing Force-Sub channels based on individual preferences. Additionally, the Request Force-Sub settings offer interactive features that enable more advanced and reliable operations.

›› ᴄᴜsᴛᴏᴍ ғᴏʀᴄᴇ sᴜʙ:

You can add one or multiple force-sub channels—there's no limit to the number you can add. You can also empty the list by deleting all force-sub channels. This feature provides versatility, allowing you to create a custom number of force-sub channels according to your preference.

›› ᴀᴅᴅ ᴍᴜʟᴛɪ ᴀᴅᴍɪɴs:

You can add one or multiple admins by providing their user IDs, and you can also remove all admins if needed. Admins have access to some useful bot commands but do not have access to all commands.

›› ʙᴀɴ-ᴜɴʙᴀɴ:

You can add user IDs to a banned list, preventing those who annoy you or spam the bot from using it. They will be unable to access the bot until you remove them from the banned list.

›› ᴀᴜᴛᴏ ᴅᴇʟᴇᴛᴇ:

This feature is crucial for protecting the bot from copyright strikes and reducing the risk of being banned from Telegram. It includes two options: first, you can enable or disable the auto-delete mode; second, you can set a timer, so files will be automatically deleted after a specified period. After that it also send a message that shows the "previous message was deleted" and provide the link to retrieve again the same files.

›› ᴄᴏɴᴛᴇɴᴛ ʙᴜᴛᴛᴏɴ:

This feature allows you to add customizable buttons to files shared by the bot. Every file shared by the bot will have a button, which you can tailor to meet your specific needs.

›› sᴇᴛ ʙᴜᴛᴛᴏɴ:

This feature allows you to customize the content buttons on files shared by the bot. For example, you can set the button name and link. You could create a button labeled "Join Channel," which will appear on the files and contain a specific link provided by you.

›› ʜɪᴅᴇ ᴄᴀᴘᴛɪᴏɴ ᴀɴᴅ ᴘʀᴏᴛᴇᴄᴛ ᴄᴀᴘᴛɪᴏɴ:

The "Hide Caption" feature allows you to remove the caption from shared files, while the "Protect Content" feature secures the files. If you enable "Protect Content," the files cannot be forwarded by users.

›› sᴛᴀʀᴛ & ғsᴜʙ ᴍᴇᴅɪᴀ:

ᴘʀᴏᴠɪᴅᴇ ɪᴍᴀɢᴇ ᴜʀʟs ᴏʀ ᴅɪʀᴇᴄᴛʟʏ sᴇɴᴅ ᴘʜᴏᴛᴏs ᴛᴏ ᴄᴜsᴛᴏᴍɪᴢᴇ ᴛʜᴇ sᴛᴀʀᴛ ᴀɴᴅ ꜰᴏʀᴄᴇ sᴜʙsᴄʀɪʙᴇ ᴍᴇssᴀɢᴇs.

›› ꜰᴜʟʟʏ ᴇᴅɪᴛᴀʙʟᴇ ᴍᴇssᴀɢᴇs:

ᴄᴜsᴛᴏᴍɪᴢᴇ sᴛᴀʀᴛ, ᴀʙᴏᴜᴛ, ʀᴇᴘʟʏ, ᴀɴᴅ ғsᴜʙ ᴍᴇssᴀɢᴇs ᴡɪᴛʜ ꜰᴏʀᴍᴀᴛᴛɪɴɢ ᴀɴᴅ ᴘʟᴀᴄᴇʜᴏʟᴅᴇʀs (sᴇᴇ ʙᴇʟᴏᴡ)..

›› ᴄᴜsᴛᴏᴍ ᴜʀʟ sʜᴏʀᴛᴇɴᴇʀ:

ᴀᴅᴅ ʏᴏᴜʀ ꜱʜᴏʀᴛᴇɴᴇʀ ᴜʀʟ, ᴀᴘɪ ᴋᴇʏꜱ, ᴀɴᴅ ᴅɪʀᴇᴄᴛ ᴛᴇʟᴇɢʀᴀᴍ ᴛᴜᴛᴏʀɪᴀʟ ʟɪɴᴋꜱ ꜰᴏʀ ᴇᴀꜱʏ ᴄᴏɴꜰɪɢᴜʀᴀᴛɪᴏɴ...

›› In addition to the above, more user-friendly and advanced interaction features have been added.

- ᴀᴅᴍɪɴ ᴀɴᴅ ᴜsᴇʀs ᴄᴏᴍᴍᴀɴᴅs :

ᴀᴅᴍɪɴ ᴀɴᴅ ᴜsᴇʀs ᴄᴏᴍᴍᴀɴᴅs

  • start - sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ

  • shortner - sʜᴏʀᴛɴᴇʀ sᴇᴛᴛɪɴɢs

  • users - ᴠɪᴇᴡ ᴛʜᴇ ᴜsᴇʀs ʟɪsᴛ

  • broadcast - sᴇɴᴅ ᴀ ᴍᴇssᴀɢᴇ ᴛᴏ ᴀʟʟ ᴜsᴇʀs

  • batch - sᴇɴᴅ ᴍᴇssᴀɢᴇs ɪɴ ʙᴀᴛᴄʜᴇs

  • genlink - ɢᴇɴᴇʀᴀᴛᴇ ᴀ ʟɪɴᴋ

  • usage - ᴄʜᴇᴄᴋ ʟɪɴᴋ ᴜsᴀɢᴇ

  • pbroadcast - sᴇɴᴅ ᴘʀᴇᴍɪᴜᴍ ᴍᴇssᴀɢᴇ ᴛᴏ ᴜsᴇʀs

  • ban - ʙᴀɴ ᴀ ᴜsᴇʀ

  • unban - ᴜɴʙᴀɴ ᴀ ᴜsᴇʀ

  • addpremium - ᴀᴅᴅ ᴘʀᴇᴍɪᴜᴍ ᴜsᴇʀ

  • delpremium - ʀᴇᴍᴏᴠᴇ ᴘʀᴇᴍɪᴜᴍ ᴜsᴇʀ

  • premiumusers - ᴠɪᴇᴡ ᴀʟʟ ᴘʀᴇᴍɪᴜᴍ ᴜsᴇʀs

  • request - sᴇɴᴅ ᴀ ʀᴇǫᴜᴇsᴛ

  • profile - ᴠɪᴇᴡ ᴜsᴇʀ ᴘʀᴏғɪʟᴇ

  • db - db channel configs

  • adddb - add primary & secondary db channel

  • removedb - to remove db channel.

- ᴠᴀʀɪᴀʙʟᴇs :

ᴠᴀʀɪᴀʙʟᴇs

# Bot Instance Configuration
SESSION = "your_session_name"
TOKEN = "your_bot_token"
API_ID = your_api_id
API_HASH = "your_api_hash"
WORKERS = 5

# Database Configuration
DB_URI = "your_mongodb_uri"
DB_NAME = "your_database_name"

# Force Subscription Channels [channel_id, request_enabled, timer_in_minutes]
FSUBS = [[-1001234567890, True, 10]]

# Database Channel
DB_CHANNEL = -1001234567890

# Auto Delete Timer (seconds)
AUTO_DEL = 300

# Admin IDs
ADMINS = [123456789, 987654321]

# Bot Settings
DISABLE_BTN = True
PROTECT = True

# Messages Configuration
MESSAGES = {
    "START": "Your start message here with {first} placeholder",
    "FSUB": "Your force subscription message",
    "ABOUT": "About message",
    # ... other messages
}

- ᴠᴘs/ʟᴏᴄᴀʟ ᴅᴇᴘʟᴏʏᴍᴇɴᴛ ᴍᴇᴛʜᴏᴅ

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

─「 sᴜᴩᴩᴏʀᴛ 」─

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

─「 ᴄʀᴇᴅɪᴛs 」─

🤝 ᴄᴏɴᴛʀɪʙᴜᴛɪɴɢ ᴄᴏɴᴛʀɪʙᴜᴛɪᴏɴs ᴀʀᴇ ᴀʟᴡᴀʏs ᴡᴇʟᴄᴏᴍᴇ! ꜰᴇᴇʟ ꜰʀᴇᴇ ᴛᴏ ᴏᴘᴇɴ ᴘᴜʟʟ ʀᴇǫᴜᴇsᴛs ᴛᴏ ɪᴍᴘʀᴏᴠᴇ ᴛʜɪs ʀᴇᴘᴏ 🖤

📝 ʟɪᴄᴇɴsᴇ

›› ʏᴏᴜ ᴄᴀɴ ꜰʀᴇᴇʟʏ ʜᴏsᴛ ᴛʜɪs ʀᴇᴘᴏ ʏᴏᴜʀsᴇʟꜰ. ᴀʟʟ ᴡᴇ ᴀsᴋ ɪs ᴛʜᴀᴛ ʏᴏᴜ ᴘʀᴏᴠɪᴅᴇ ᴘʀᴏᴘᴇʀ ᴄʀᴇᴅɪᴛs ʙʏ ʟɪɴᴋɪɴɢ ᴛᴏ ᴛʜɪs ʀᴇᴘᴏsɪᴛᴏʀʏ.

›› ᴛʜɪs ᴘʀᴏᴊᴇᴄᴛ ɪs ʟɪᴄᴇɴsᴇᴅ ᴜɴᴅᴇʀ ᴛʜᴇ ɢɴᴜ ɢᴇɴᴇʀᴀʟ ᴘᴜʙʟɪᴄ ʟɪᴄᴇɴsᴇ ᴠ3.0 (ɢᴘʟᴠ3). ʏᴏᴜ ᴀʀᴇ ꜰʀᴇᴇ ᴛᴏ ᴜsᴇ, ᴍᴏᴅɪꜰʏ, ᴀɴᴅ sʜᴀʀᴇ ɪᴛ — ʙᴜᴛ ʏᴏᴜ ᴍᴜsᴛ ᴀʟsᴏ ɢɪᴠᴇ ᴄʀᴇᴅɪᴛ ᴀɴᴅ ᴋᴇᴇᴘ ɪᴛ ᴜɴᴅᴇʀ ᴛʜᴇ ɢᴘʟ ʟɪᴄᴇɴ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

Packages

No packages published

Languages