Skip to content
This repository was archived by the owner on Sep 29, 2021. It is now read-only.

Commit e44483c

Browse files
committed
Fix and Add dah gitu aja
1 parent eaeafe1 commit e44483c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

userbot/modules/admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

userbot/modules/afk.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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,

userbot/modules/www.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from userbot.events import register
1515

1616

17-
@register(outgoing=True, pattern="^.speed$")
17+
@register(outgoing=True, pattern="^.speedtest(?: |$)(.*)")
1818
async def _(event):
1919
if event.fwd_from:
2020
return

0 commit comments

Comments
 (0)