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/leave.py Normal file
View File

@@ -0,0 +1,23 @@
from .. import loader, utils
from asyncio import sleep
from telethon.tl.functions.channels import LeaveChannelRequest
@loader.tds
class LeaveMod(loader.Module):
strings = {"name": "Just leave"}
@loader.sudo
async def leavecmd(self, message):
""".leave"""
if not message.chat:
await message.edit("<b>Дурка блять</b>")
return
text = utils.get_args_raw(message)
if not text:
text = "До связи."
if text.lower() == "del":
await message.delete()
else:
await message.edit(f"<b>{text}</b>")
await sleep(1)
await message.client(LeaveChannelRequest(message.chat_id))