Spaces:
Paused
Paused
Update plugins/alive.py
Browse files- plugins/alive.py +4 -3
plugins/alive.py
CHANGED
@@ -59,7 +59,7 @@ def format_message_text(uptime):
|
|
59 |
f"β΅ Pyrogram : {pver}\n" \
|
60 |
f"β΅ Python : {pyver()}\n</blockquote>"
|
61 |
|
62 |
-
@xteam_cmd(pattern="
|
63 |
async def alive(event):
|
64 |
start = time.time()
|
65 |
pro = await event.eor("π₯")
|
@@ -162,7 +162,8 @@ async def live_video(event):
|
|
162 |
await event.respond(f"An error occurred: {e}")
|
163 |
|
164 |
|
165 |
-
|
|
|
166 |
async def alive_inline_handler(ult):
|
167 |
start = time.time()
|
168 |
|
@@ -183,7 +184,7 @@ async def alive_inline_handler(ult):
|
|
183 |
# Menggabungkan tombol dalam list of lists untuk 'buttons' parameter.
|
184 |
buttons_markup = [
|
185 |
[
|
186 |
-
Button.inline("π‘ Modules π‘",data="
|
187 |
],
|
188 |
]
|
189 |
|
|
|
59 |
f"β΅ Pyrogram : {pver}\n" \
|
60 |
f"β΅ Python : {pyver()}\n</blockquote>"
|
61 |
|
62 |
+
@xteam_cmd(pattern="aline$")
|
63 |
async def alive(event):
|
64 |
start = time.time()
|
65 |
pro = await event.eor("π₯")
|
|
|
162 |
await event.respond(f"An error occurred: {e}")
|
163 |
|
164 |
|
165 |
+
#@in_pattern("aline", owner=False)
|
166 |
+
@xteam_cmd(pattern="alive$")
|
167 |
async def alive_inline_handler(ult):
|
168 |
start = time.time()
|
169 |
|
|
|
184 |
# Menggabungkan tombol dalam list of lists untuk 'buttons' parameter.
|
185 |
buttons_markup = [
|
186 |
[
|
187 |
+
Button.inline("π‘ Modules π‘",data="ownr"), # New data for modules
|
188 |
],
|
189 |
]
|
190 |
|