Spaces:
Running
Running
| # 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={})**,๐โ๐ฆ ๐ญ๐ก๐ ๐๐๐๐๐ ๐ก ๐๐๐๐ ๐ ๐ข๐ฅ๐ ๐๐๐ซ๐ฏ๐ ๐๐จ๐ญ ๐๐ซ๐จ๐ฆ ๐๐๐๐ฆ ๐ ๐ข๐ซ๐โก๐๐จ๐ฅ๐ญ ! | |
| ๐๐๐๐ ๐ ๐๐๐๐๐ ๐จ๐ซ ๐๐๐๐๐๐ ? ๐๐ฎ๐ฌ๐ญ ๐ฌ๐๐ง๐ ๐ญ๐ก๐ ๐ง๐๐ฆ๐, ๐๐ง๐ ๐โ๐ฅ๐ฅ ๐๐ข๐ง๐ ๐ข๐ญ ๐๐จ๐ซ ๐ฒ๐จ๐ฎ ๐ข๐ง๐ฌ๐ญ๐๐ง๐ญ๐ฅ๐ฒ! ๐ฟ๐ฅ | |
| ๐๐๐ง๐ญ ๐ญ๐จ ๐ค๐ง๐จ๐ฐ ๐ฆ๐จ๐ซ๐? ๐๐ฒ๐ฉ๐ /help ๐๐จ๐ซ ๐๐ฅ๐ฅ ๐๐จ๐ฆ๐ฆ๐๐ง๐๐ฌ. | |
| ๐๐๐ญโ๐ฌ ๐ก๐ฎ๐ง๐ญ ๐๐จ๐ฐ๐ง ๐ฌ๐จ๐ฆ๐ ๐ ๐ซ๐๐๐ญ ๐๐จ๐ง๐ญ๐๐ง๐ญ! | |
| """ | |
| 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( | |
| "๐ Contact", url="https://telegram.me/ANGRY_BIRD22_bot" | |
| ) | |
| ], | |
| [ | |
| InlineKeyboardButton( | |
| "โ How To Download โ", url="https://telegram.me/FIREBOLTTutorial/23" | |
| ) | |
| ], | |
| ] | |
| ) | |
| HELP_KB = InlineKeyboardMarkup( | |
| [ | |
| [ | |
| InlineKeyboardButton("๐ Back", callback_data="back_m"), | |
| ], | |
| ] | |
| ) | |