FireBolt / sample_const.py
AngryBird-22's picture
Upload 35 files
5dc4327 verified
Raw
History Blame
3.65 kB
# Do not edit this file, copy this file & rename it to const.py. Any format error will result in not getting start or help message.
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
#use the same format for name & user_id placeholders
START_MSG = """
Hi **[{}](tg://user?id={})**, I am a media finder bot which finds media from my database channel. Just send query to find the media.
Send /help for more.
"""
HELP_MSG = """
REQUEST FORMAT :- *MOVIE NAME WITH YEAR (LANGUAGE OPTIONAL)
REQUEST LIKE THIS :-
=>IRON MANβœ…
=>IRON MAN 2008βœ…
=>IRON MAN 2008 TAMILβœ…
DON'T REQUEST LIKE THIS :-
=>IRON MAN MOVIE ❌
=>IRON MAN 2008 GIVE ❌
=>IRON MAN 2008 ANAPUGA ❌
[πŸ™…Don't use this words while searching: HD, MOVIES, SEND, PREDVD, WEB-DL, ANAPUGA, SEND PANNUGA, HDrip, VENUM]
If Any Movies Not Available Send Your MOVIE NAMES Via `/request <Movie Name>` or REPORT HERE πŸ‘‰ @ANGRY_BIRD22_bot
━━━━━━━━━━━━━━━━━━━━━━
**You can find the bot commands here.**
**User Commands:-**
/start - Start the bot and view main menu
/help - Show this help message
/trending - View top 10 trending movies this week
/newuploads - View latest 25 newly uploaded movies
/request - Request a missing movie from admins (`/request Movie Name`)
/settings - Toggle settings of Precise Mode and Button Mode
**Precise Mode:**
- If Enabled, bot will match the word & return results with only the exact match
- If Disabled, bot will match the word & return all the results containing the word
**Result Mode:**
- If Button, bot will return results in button format
- If List, bot will return results in list format
- If HyperLink, bot will return results in hyperlink format
**Admin Commands:-**
/requests - View pending movie requests summary
/message - Send message to user's PM - `/message <user_id/username> [optional text]`
/logs - Get logs as a file
/server - Get server stats
/restart - Restart the bot
/stats - Get bot user stats
/broadcast - Reply to a message to send that to all bot users
/index - Start indexing a database channel (bot must be admin of the channel if that is private channel)
*(You can just forward the message from database channel for starting indexing, no need to use the /index command)*
/delete - Reply to a file to delete it from database
/autodelete - Set file auto delete time in seconds
/repairmode - Enable or disable repair mode - If on, bot will not send any files
/customcaption - Set custom caption for files
/adminsettings - Get current admin settings
/ban - Ban a user from bot - `/ban user_id`
/unban - Unban a user from bot - `/unban user_id`
/addfilter - Add a text filter - `/addfilter filter message` or `/addfilter "filter multiple words" message` *(If a filter is there, bot will send the filter rather than file)*
/delfilter - Delete a text filter - `/delfilter filter`
/listfilters - List all filters currently added in the bot
/forcesub - Set force subscribe channel - `/forcesub channel_id` *(Bot must be admin of that channel)*
/checklink - Check invite link for force subscribe channel
/total - Get count of total files in DB
"""
START_KB = InlineKeyboardMarkup(
[
[
InlineKeyboardButton("πŸ†˜ Help", callback_data="help_cb"),
InlineKeyboardButton(
"πŸ‘¨β€πŸ’» Source Code", url="https://github.com/EL-Coders/mediafinder"
),
]
]
)
HELP_KB = InlineKeyboardMarkup(
[
[
InlineKeyboardButton("πŸ”™ Back", callback_data="back_m"),
],
]
)