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,19 @@
from .. import loader, utils
from telethon import functions
def register(cb):
cb(ReportMod())
class ReportMod(loader.Module):
"""Репорт"""
strings = {"name": "Report"}
async def reportcmd(self, message):
"""Репорт пользователя за спам."""
reply = await message.get_reply_message()
if reply:
await message.client(functions.messages.ReportSpamRequest(peer=reply.sender.id))
await message.edit("<b>Ты получил репорт за спам!</b>")
else:
return await message.edit("<b>Кого я должен зарепортить?</b>")