xteamki commited on
Commit
43c1f9a
Β·
verified Β·
1 Parent(s): d9bc7f9

Update plugins/alive.py

Browse files
Files changed (1) hide show
  1. 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="alive$")
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
- @in_pattern("aline", owner=False)
 
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="uh_Official_"), # New data for modules
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