Files
limoka/Den4ikSuperOstryyPer4ik/Astro-modules/вахуи_пон.py
2025-07-10 21:02:34 +03:00

62 lines
2.8 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

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.

#
# @@@@@@ @@@@@@ @@@@@@@ @@@@@@@ @@@@@@ @@@@@@@@@@ @@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@@@ @@@@@@
# @@@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@@@@@ @@@@@@@@ @@@@@@@@ @@@ @@@ @@@ @@@@@@@@ @@@@@@@
# @@! @@@ !@@ @@! @@! @@@ @@! @@@ @@! @@! @@! @@! @@@ @@! @@@ @@! @@@ @@! @@! !@@
# !@! @!@ !@! !@! !@! @!@ !@! @!@ !@! !@! !@! !@! @!@ !@! @!@ !@! @!@ !@! !@! !@!
# @!@!@!@! !!@@!! @!! @!@!!@! @!@ !@! @!! !!@ @!@ @!@ !@! @!@ !@! @!@ !@! @!! @!!!:! !!@@!!
# !!!@!!!! !!@!!! !!! !!@!@! !@! !!! !@! ! !@! !@! !!! !@! !!! !@! !!! !!! !!!!!: !!@!!!
# !!: !!! !:! !!: !!: :!! !!: !!! !!: !!: !!: !!! !!: !!! !!: !!! !!: !!: !:!
# :!: !:! !:! :!: :!: !:! :!: !:! :!: :!: :!: !:! :!: !:! :!: !:! :!: :!: !:!
# :: ::: :::: :: :: :: ::: ::::: :: ::: :: ::::: :: :::: :: ::::: :: :: :::: :: :::: :::: ::
# : : : :: : : : : : : : : : : : : : : :: : : : : : : :: : : : :: :: :: : :
#
# © 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()