mirror of
https://github.com/MuRuLOSE/limoka.git
synced 2026-06-16 06:24:18 +02:00
62 lines
2.8 KiB
Python
62 lines
2.8 KiB
Python
#
|
||
# @@@@@@ @@@@@@ @@@@@@@ @@@@@@@ @@@@@@ @@@@@@@@@@ @@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@@@ @@@@@@
|
||
# @@@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@@@@@ @@@@@@@@ @@@@@@@@ @@@ @@@ @@@ @@@@@@@@ @@@@@@@
|
||
# @@! @@@ !@@ @@! @@! @@@ @@! @@@ @@! @@! @@! @@! @@@ @@! @@@ @@! @@@ @@! @@! !@@
|
||
# !@! @!@ !@! !@! !@! @!@ !@! @!@ !@! !@! !@! !@! @!@ !@! @!@ !@! @!@ !@! !@! !@!
|
||
# @!@!@!@! !!@@!! @!! @!@!!@! @!@ !@! @!! !!@ @!@ @!@ !@! @!@ !@! @!@ !@! @!! @!!!:! !!@@!!
|
||
# !!!@!!!! !!@!!! !!! !!@!@! !@! !!! !@! ! !@! !@! !!! !@! !!! !@! !!! !!! !!!!!: !!@!!!
|
||
# !!: !!! !:! !!: !!: :!! !!: !!! !!: !!: !!: !!! !!: !!! !!: !!! !!: !!: !:!
|
||
# :!: !:! !:! :!: :!: !:! :!: !:! :!: :!: :!: !:! :!: !:! :!: !:! :!: :!: !:!
|
||
# :: ::: :::: :: :: :: ::: ::::: :: ::: :: ::::: :: :::: :: ::::: :: :: :::: :: :::: :::: ::
|
||
# : : : :: : : : : : : : : : : : : : : :: : : : : : : :: : : : :: :: :: : :
|
||
#
|
||
# © Copyright 2024
|
||
#
|
||
# https://t.me/Den4ikSuperOstryyPer4ik
|
||
# and
|
||
# https://t.me/ToXicUse
|
||
#
|
||
# 🔒 Licensed under the GNU AGPLv3
|
||
# https://www.gnu.org/licenses/agpl-3.0.html
|
||
#
|
||
# meta developer: @AstroModules
|
||
|
||
import random
|
||
|
||
from telethon.tl.types import Message
|
||
|
||
from .. import loader
|
||
|
||
|
||
@loader.tds
|
||
class ВахуиПонMod(loader.Module):
|
||
'''пон и вахуи'''
|
||
|
||
strings = {"name": "ВАХУИ-ПОН", "pon": "пон", "vahui": "вахуи"}
|
||
|
||
@loader.command()
|
||
async def понcmd(self, message: Message):
|
||
"""--> пон"""
|
||
reply = await message.get_reply_message()
|
||
m = random.choice(await self.client.get_messages("@PON_STICKS", limit=100))
|
||
if reply:
|
||
await self.client.send_message(message.chat_id, file=m, reply_to=reply)
|
||
else:
|
||
await message.respond(file=m)
|
||
|
||
if message.out:
|
||
await message.delete()
|
||
|
||
@loader.command()
|
||
async def вахуиcmd(self, message: Message):
|
||
"""--> вахуи"""
|
||
reply = await message.get_reply_message()
|
||
m = random.choice(await self.client.get_messages("@VAHUI_STICKS", limit=100))
|
||
if reply:
|
||
await self.client.send_message(message.chat_id, file=m, reply_to=reply)
|
||
else:
|
||
await message.respond(file=m)
|
||
|
||
if message.out:
|
||
await message.delete()
|