Spaces:
Running on Zero
Running on Zero
File size: 1,400 Bytes
60e9648 | 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 | from pyrogram import Client, filters
from pyrogram.types import Message
@Client.on_message(filters.private & (filters.command("cc") | filters.command("adminhelp")))
async def admin_help(client: Client, message: Message):
if message.from_user.id not in client.admins:
return
help_text = """
🛠 **Aᴅᴍɪɴ Hᴇʟᴘ Mᴇɴᴜ 🛠**
/users - Get total users count
/settings - Open Bot Settings Panel
/stats - See bot statistics
/broadcast - Broadcast a message to all users. (Reply this to any message/photo)
/pbroadcast - Broadcast message and pin it in users chat
/batch - Generate Batch Link (Asking First and Last Message from DB Channel)
/nbatch {count} - Generate Batch Link continuously from a start link
/genlink - Generate single file link
/bulk - Generate Links for Multiple Files with direct links along with one batch link
/movie {Name} - Start movie setup to fetch continuous files with file sizes & indexing
/series {Name} - Start series setup to fetch continuous episodes with original filename & batch link
/ban {user_id} - Ban a user
/unban {user_id} - Unban a user
/addpremium {user_id} {time} - Give Premium to User
/delpremium {user_id} - Remove Premium
/premiumusers - List of Premium Users
/db, /adddb, /removedb - Multi-Database management
/img - Reply to any photo/video to upload to Graph.org (5MB limit)
"""
await message.reply(help_text)
|