Spaces:
Running
Running
File size: 3,654 Bytes
5dc4327 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | # 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"),
],
]
)
|