━━━━━━━━━━━━━━━━━━━━
𝗗𝗘𝗣𝗟𝗢𝗬𝗠𝗘𝗡𝗧 𝗠𝗘𝗧𝗛𝗢𝗗𝗦
- ғᴇᴀᴛᴜʀᴇ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.
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.
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.
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ᴄʀɪʙᴇ ᴍᴇssᴀɢᴇs.
ᴄᴜsᴛᴏᴍɪᴢᴇ sᴛᴀʀᴛ, ᴀʙᴏᴜᴛ, ʀᴇᴘʟʏ, ᴀɴᴅ ғsᴜʙ ᴍᴇssᴀɢᴇ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 :
# 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
}
- Get your Necessary Variables
- git clone https://github.com/Codeflix-Bots/filestore
- pip3 install -U -r requirements.txt
- Edit config.py with variables as given below then run bot
- python3 main.py
━━━━━━━━━━━━━━━━━━━━
🤝 ᴄᴏɴᴛʀɪʙᴜᴛɪɴɢ ᴄᴏɴᴛʀɪʙᴜᴛɪᴏɴ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ᴇ.
━━━━━━━━━━━━━━━━━━━━