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

Commit 333d5e0

Browse files
committed
Userbot: auto del message working now
1 parent 917d814 commit 333d5e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

userbot/modules/afk.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,9 @@ async def type_afk_is_not_true(notafk):
140140
global AFKREASON
141141
if ISAFK:
142142
ISAFK = False
143-
await notafk.respond("I'm no longer AFK.")
144-
await sleep(2)
143+
msg = await notafk.respond("I'm no longer AFK.")
144+
await sleep(1)
145+
await msg.delete()
145146
if BOTLOG:
146147
await notafk.client.send_message(
147148
BOTLOG_CHATID,

0 commit comments

Comments
 (0)