Commited backup

This commit is contained in:
2025-07-10 21:02:34 +03:00
parent 952c1001e3
commit da0b80823e
1310 changed files with 254133 additions and 41 deletions

View File

@@ -0,0 +1,25 @@
# @Sekai_Yoneya
from .. import loader, utils
import re
from asyncio import sleep
@loader.tds
class DelTmMod(loader.Module):
strings = {"name": "Delete timer"}
"Удаляет сообщение через указанное время"
@loader.owner
async def deltmcmd(self, m):
".deltm <реплай> <секунды>"
reply = await m.get_reply_message()
if not reply:
return await m.edit("reply to message...")
a = re.compile(r"^\d+$")
t = utils.get_args_raw(m)
if a.match(t):
await m.delete()
await sleep(int(t))
await reply.delete()
else:
await m.edit("shit...")
return