File size: 2,642 Bytes
987f063 c3bce79 04eb236 c3bce79 987f063 | 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 | import logging
logger = logging.getLogger(__name__)
from pyrogram import Client, filters
from pyrogram.types import Message, InlineKeyboardMarkup, InlineKeyboardButton
@Client.on_message(filters.command("cc") & filters.private)
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
)
|