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

20 lines
576 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 amogus(loader.Module):
"""Подпишись на канал @modwini"""
strings = {"name": "amogus"}
async def amoguscmd(self, message: Message):
"""Скидывает видео с амогусом (работает в чатах где отключено медиa)"""
if message.out:
await message.delete()
await message.respond(
f'<a href="https://t.me/radiofmonline/{random.randint(233, 236)}">­</a>',
)