Files
limoka/Ijidishurka/modules/rand.py
2025-07-10 21:02:34 +03:00

20 lines
549 B
Python
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import random
from .. import loader
from telethon.tl.types import Message
@loader.tds
class кругляш(loader.Module):
"""Подпишись на канал @modwini"""
strings = {"name": "кругляш"}
async def krcmd(self, message: Message):
"""Кидает рандом видео сообщение из канала @kruglishik"""
if message.out:
await message.delete()
await message.respond(
f'<a href="https://t.me/kruglishik/{random.randint(6, 44)}">­</a>',
)