mirror of
https://github.com/MuRuLOSE/limoka.git
synced 2026-06-18 23:24:18 +02:00
Commited backup
This commit is contained in:
61
Den4ikSuperOstryyPer4ik/Astro-modules/вахуи_пон.py
Normal file
61
Den4ikSuperOstryyPer4ik/Astro-modules/вахуи_пон.py
Normal file
@@ -0,0 +1,61 @@
|
||||
#
|
||||
# @@@@@@ @@@@@@ @@@@@@@ @@@@@@@ @@@@@@ @@@@@@@@@@ @@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@@@ @@@@@@
|
||||
# @@@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@@@@@ @@@@@@@@ @@@@@@@@ @@@ @@@ @@@ @@@@@@@@ @@@@@@@
|
||||
# @@! @@@ !@@ @@! @@! @@@ @@! @@@ @@! @@! @@! @@! @@@ @@! @@@ @@! @@@ @@! @@! !@@
|
||||
# !@! @!@ !@! !@! !@! @!@ !@! @!@ !@! !@! !@! !@! @!@ !@! @!@ !@! @!@ !@! !@! !@!
|
||||
# @!@!@!@! !!@@!! @!! @!@!!@! @!@ !@! @!! !!@ @!@ @!@ !@! @!@ !@! @!@ !@! @!! @!!!:! !!@@!!
|
||||
# !!!@!!!! !!@!!! !!! !!@!@! !@! !!! !@! ! !@! !@! !!! !@! !!! !@! !!! !!! !!!!!: !!@!!!
|
||||
# !!: !!! !:! !!: !!: :!! !!: !!! !!: !!: !!: !!! !!: !!! !!: !!! !!: !!: !:!
|
||||
# :!: !:! !:! :!: :!: !:! :!: !:! :!: :!: :!: !:! :!: !:! :!: !:! :!: :!: !:!
|
||||
# :: ::: :::: :: :: :: ::: ::::: :: ::: :: ::::: :: :::: :: ::::: :: :: :::: :: :::: :::: ::
|
||||
# : : : :: : : : : : : : : : : : : : : :: : : : : : : :: : : : :: :: :: : :
|
||||
#
|
||||
# © 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()
|
||||
Reference in New Issue
Block a user