vflixa1prime
SUBSCRIPTION Introduce (#34)
e581a8c unverified
Raw History Blame
744 Bytes
from pyrogram import Client, filters
from pyrogram.types import Message
from Backend.config import Telegram
from Backend.helper.custom_filter import CustomFilters
@Client.on_message(filters.command("help"))
async def help_command(client: Client, message: Message):
if Telegram.SUBSCRIPTION:
text = (
"<b>Bot Commands:</b>\n\n"
"/start - Main menu / Purchase membership\n"
"/status - Check your subscription expiry date\n"
"/help - Show this message"
)
else:
text = (
"<b>Bot Commands:</b>\n\n"
"/start - Get the Stremio Addon URL\n"
"/help - Show this message"
)
await message.reply_text(text, quote=True)