This repository was archived by the owner on Sep 29, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -609,9 +609,9 @@ async def tagaso(event):
609609 await event .delete ()
610610 mentions = "@all"
611611 chat = await event .get_input_chat ()
612- async for user in event .client .iter_participants (chat , 50 ):
612+ async for user in bot .client .iter_participants (chat , 500 ):
613613 mentions += f"[\u2063 ](tg://user?id={ user .id } )"
614- await event .client .send_message (
614+ await bot .client .send_message (
615615 chat , mentions , reply_to = event .message .reply_to_msg_id )
616616
617617
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ async def type_afk_is_not_true(notafk):
142142 ISAFK = False
143143 await notafk .respond ("I'm no longer AFK." )
144144 await sleep (2 )
145+ await notafk .delete ()
145146 if BOTLOG :
146147 await notafk .client .send_message (
147148 BOTLOG_CHATID ,
Original file line number Diff line number Diff line change 1414from userbot .events import register
1515
1616
17- @register (outgoing = True , pattern = "^.speed$ " )
17+ @register (outgoing = True , pattern = "^.speedtest(?: |$)(.*) " )
1818async def _ (event ):
1919 if event .fwd_from :
2020 return
You can’t perform that action at this time.
0 commit comments