Download plugins/help_cmds.py from Thaimozhi/RenameBot: direct link, hf CLI and curl.
- Browser
- Download file 2.64 kB
-
https://huggingface.co/spaces/Thaimozhi/RenameBot/resolve/main/plugins/help_cmds.py
- Command line
-
hf download hf://spaces/Thaimozhi/RenameBot/plugins/help_cmds.py
-
curl -L -o help_cmds.py https://huggingface.co/spaces/Thaimozhi/RenameBot/resolve/main/plugins/help_cmds.py
2.64 kB
| import logging | |
| logger = logging.getLogger(__name__) | |
| from pyrogram import Client, filters | |
| from pyrogram.types import Message, InlineKeyboardMarkup, InlineKeyboardButton | |
| async def cc_command(client: Client, message: Message): | |
| commands_text = """ | |
| 🤖 **Welcome to the Unified codeflixbots Help Panel!** | |
| This bot combines both Rename features and Auto Uploader capabilities. | |
| Here are all the available commands: | |
| **--- ⚡️ GENERAL COMMANDS ---** | |
| /start - Check if the bot is alive. | |
| /settings - Access the primary Rename Bot Settings Panel (Auto Upload ON/OFF, etc.). | |
| /autoset - Access the secondary Auto Uploader Settings Panel (Routing, Mode, Button Configs). | |
| /cc - View this command list. | |
| **--- ✏️ RENAME & CAPTION (Rename Bot) ---** | |
| /set_caption - Set a custom caption template. | |
| /see_caption - View your current caption. | |
| /del_caption - Delete your custom caption. | |
| /set_prefix - Add prefix to renamed files. | |
| /set_suffix - Add suffix to renamed files. | |
| /del_prefix - Remove prefix. | |
| /del_suffix - Remove suffix. | |
| **--- 🖼️ THUMBNAIL (Rename Bot) ---** | |
| /view_thumb - View current custom thumbnail. | |
| /del_thumb - Delete current custom thumbnail. | |
| **--- 🚀 UPLOADER QUEUE COMMANDS (When Auto Upload is ON) ---** | |
| /set_name <anime name> - Forcibly set the Anime Name & Target Channel for the queued file. | |
| /set_details <episode>, <season> - Forcibly map E/S if auto-detection fails. | |
| /start_process - Trigger the background worker to start processing all queued links/files. | |
| /clear_queue - Flush current pending queue. | |
| /cancel_task - Stop the currently processing queue task. | |
| **--- 📺 ROUTING CHANNEL MAP (Both Modes) ---** | |
| /add_channel - (Reply to channel message) Automatically maps a keyword hint to a channel output. | |
| /view_channel - View all configured channel map keys. | |
| /remove_channel <id> - Remove a mapped target channel. | |
| **--- 🎵 AUDIO CONFIGURATIONS ---** | |
| /audio - Interactive menu to remove, reorder, or set default audio track (Reply to a file). | |
| /set_auto_audio_order - Configure Uploader audio tracks order (e.g. `/set_auto_audio_order 1,0,2`). | |
| /reset_auto_audio_order - Reset auto uploader audio track reordering. | |
| /set_leech_audio_order - Configure Leech/Rename audio tracks order. | |
| /reset_leech_audio_order - Reset leech audio track reordering. | |
| /setdefaultaudio - Set default primary track index (e.g. `/setdefaultaudio 0`). | |
| /resetdefaultaudio - Reset default track. | |
| /set_sub_watermark - Embed a text watermark into embedded subtitles (Uploader mode). | |
| """ | |
| await message.reply_text( | |
| commands_text, | |
| disable_web_page_preview=True | |
| ) | |