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

23
KeyZenD/modules/print.py Normal file
View File

@@ -0,0 +1,23 @@
from .. import loader, utils
from asyncio import sleep
@loader.tds
class PrintMod(loader.Module):
"""Аналог модуля typewriter"""
strings = {"name": "print"}
@loader.owner
async def printcmd(self, message):
""".print <text or reply>"""
text = utils.get_args_raw(message)
if not text:
reply = await message.get_reply_message()
if not reply or not reply.message:
await message.edit("<b>Текста нет!</b>")
return
text = reply.message
out = ""
for ch in text:
out += ch
if ch not in [" ", "\n"]:
await message.edit(out+"\u2060")
await sleep(0.3)