forked from HashmiArzan123/cptxtextract1
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPlugins
75 lines (37 loc) · 2.29 KB
/
Plugins
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
from pyrogram import filters
from pyrogram import Client as stark
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup, Message
from main import LOGGER, prefixes, AUTH_USERS
from config import Config
import os
import sys
@stark.on_message(filters.command(["start"]) & ~filters.edited)
async def Start_msg(bot: stark , m: Message):
await bot.send_photo(
m.chat.id,
photo="https://telegra.ph/file/cef3ef6ee69126c23bfe3.jpg",
caption = "**Hi i am All in One Extractor Bot**.\n"
"Press **/pw** for **Physics Wallah**..\n\n"
"Press **/e1** for **E1 Coaching App**..\n\n"
"Press **/vidya** for **Vidya Bihar App**..\n\n"
"Press **/ocean** for **Ocean Gurukul App**..\n\n"
"Press **/winners** for **The Winners Institute**..\n\n"
"Press **/rgvikramjeet** for **Rgvikramjeet App**..\n\n"
"Press **/txt** for **Ankit With Rojgar,**\n**The Mission Institute,**\n**The Last Exam App**..\n\n"
"Press **/cp** for **classplus appp**..\n\n"
"Press **/cw** for **careerwill app**..\n\n"
"Press **/khan** for **Khan Gs app**..\n\n"
"Press **/exampur** for ** Exampur app**..\n\n"
"Press **/samyak** for ** Samayak Ias**..\n\n"
"Press **/chandra** for ** Chandra app**..\n\n"
"Press **/mgconcept** for **Mgconcept app**..\n\n"
"Press **/down** for **For Downloading Url lists**..\n\n"
"Press **/forward** To **Forward from One channel to others**..\n\n"
"**𝗕𝗼𝘁 𝗢𝘄𝗻𝗲𝗿 : 𝒞𝓇𝓎𝓅𝓉💞𝓈𝓉𝒶𝓇𝓀**")
@stark.on_message(filters.command(["restart"]) & ~filters.edited)
async def restart_handler(_, m):
await m.reply_text("Restarted!", True)
os.execl(sys.executable, sys.executable, *sys.argv)
@stark.on_message(filters.command(["log"]) & ~filters.edited)
async def log_msg(bot: stark , m: Message):
await bot.send_document(m.chat.id, "log.txt")