Download Backend/pyrofork/plugins/help.py from DevDoCode/stremio: direct link, hf CLI and curl.
- Browser
- Download file 744 Bytes
-
https://huggingface.co/spaces/DevDoCode/stremio/resolve/b5f02ccc077cdb2b76c632269ec83ecf37cd456c/Backend/pyrofork/plugins/help.py
- Command line
-
hf download hf://spaces/DevDoCode/stremio@b5f02ccc077cdb2b76c632269ec83ecf37cd456c/Backend/pyrofork/plugins/help.py
-
curl -L -o help.py https://huggingface.co/spaces/DevDoCode/stremio/resolve/b5f02ccc077cdb2b76c632269ec83ecf37cd456c/Backend/pyrofork/plugins/help.py
744 Bytes
| from pyrogram import Client, filters | |
| from pyrogram.types import Message | |
| from Backend.config import Telegram | |
| from Backend.helper.custom_filter import CustomFilters | |
| 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) | |