mirror of
https://github.com/MuRuLOSE/limoka.git
synced 2026-06-19 15:34:18 +02:00
Commited backup
This commit is contained in:
32
KeyZenD/modules/заёбушка.py
Normal file
32
KeyZenD/modules/заёбушка.py
Normal file
@@ -0,0 +1,32 @@
|
||||
from asyncio import sleep
|
||||
from .. import loader, utils
|
||||
|
||||
def register(cb):
|
||||
cb(ЗаёбушкаMod())
|
||||
|
||||
class ЗаёбушкаMod(loader.Module):
|
||||
"""Заебет любого"""
|
||||
strings = {'name': 'Заёбушка'}
|
||||
|
||||
async def заебуcmd(self, message):
|
||||
""".заебу <колличество> <реплай на того, кого заебать>"""
|
||||
reply = await message.get_reply_message()
|
||||
if not reply:
|
||||
await message.edit("<b>А кого заёбывать-то?</b>")
|
||||
return
|
||||
id = reply.sender_id
|
||||
args = utils.get_args(message)
|
||||
count = 50
|
||||
if args:
|
||||
if args[0].isdigit():
|
||||
if int(args[0]) < 0:
|
||||
count = 50
|
||||
else:
|
||||
count = int(args[0])
|
||||
txt = '<a href="tg://user?id={}">Заёбушка :3</a>'.format(id)
|
||||
await message.delete()
|
||||
for _ in range(count):
|
||||
await sleep(0.3)
|
||||
msg = await message.client.send_message(message.to_id, txt)
|
||||
await sleep(0.3)
|
||||
await msg.delete()
|
||||
Reference in New Issue
Block a user