Karan Adhikari commited on
Delete Backend/pyrofork/plugins/help.py
Browse files
Backend/pyrofork/plugins/help.py
DELETED
|
@@ -1,24 +0,0 @@
|
|
| 1 |
-
from pyrogram import Client, filters
|
| 2 |
-
from pyrogram.types import Message
|
| 3 |
-
from Backend.helper.settings_manager import SettingsManager
|
| 4 |
-
from Backend.helper.custom_filter import CustomFilters
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
@Client.on_message(filters.command("help"))
|
| 9 |
-
async def help_command(client: Client, message: Message):
|
| 10 |
-
if SettingsManager.current().subscription:
|
| 11 |
-
text = (
|
| 12 |
-
"<b>Bot Commands:</b>\n\n"
|
| 13 |
-
"/start - Main menu / Purchase membership\n"
|
| 14 |
-
"/status - Check your subscription expiry date\n"
|
| 15 |
-
"/help - Show this message"
|
| 16 |
-
)
|
| 17 |
-
else:
|
| 18 |
-
text = (
|
| 19 |
-
"<b>Bot Commands:</b>\n\n"
|
| 20 |
-
"/start - Get the Stremio Addon URL\n"
|
| 21 |
-
"/help - Show this message"
|
| 22 |
-
)
|
| 23 |
-
|
| 24 |
-
await message.reply_text(text, quote=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|