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

20 lines
568 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.

This file contains Unicode characters that might be confused with other characters. 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 catt(loader.Module):
"""Подпишись на канал @modwini"""
strings = {"name": "catt"}
async def cattcmd(self, message: Message):
"""Скидывает видео с котиком (работает в чатах где отключено медиa)"""
if message.out:
await message.delete()
await message.respond(
f'<a href="https://t.me/radiofmonline/{random.randint(282, 283)}">­</a>',
)