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 = utils.get_args_raw(message) if not text: reply = await message.get_reply_message() if not reply or not reply.message: await message.edit("Текста нет!") 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)