mirror of
https://github.com/MuRuLOSE/limoka.git
synced 2026-06-18 15:14:18 +02:00
Commited backup
This commit is contained in:
19
Ijidishurka/modules/amogus.py
Normal file
19
Ijidishurka/modules/amogus.py
Normal file
@@ -0,0 +1,19 @@
|
||||
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>',
|
||||
)
|
||||
Reference in New Issue
Block a user