xteam-urbot / plugins /asupan.py
teamx-cloner
Add files via upload
fefc4fb
# πŸ€ Β© @tofik_dn
# FROM Man-Userbot <https://github.com/mrismanaziz/Man-Userbot>
# t.me/SharingUserbot & t.me/Lunatic0de
# ⚠️ Do not remove credits
from secrets import choice
from telethon.tl.types import InputMessagesFilterVideo, InputMessagesFilterVoice
from telethon.tl.types import InputMessagesFilterPhotos
from . import eor, ultroid_cmd, get_string, OWNER_NAME
@ultroid_cmd(pattern="asupan$")
async def _(event):
xx = await event.eor(get_string("asupan_1"))
try:
asupannya = [
asupan
async for asupan in event.client.iter_messages(
"@xcryasupan", filter=InputMessagesFilterVideo
)
]
await event.client.send_file(
event.chat_id, file=choice(asupannya), caption=f"Asupan BY πŸ₯€{OWNER_NAME}πŸ₯€", reply_to=event.reply_to_msg_id
)
await xx.delete()
except Exception:
await xx.edit("**Tidak bisa menemukan video asupan.**")
@ultroid_cmd(pattern="pap$")
async def _(event):
xx = await event.eor(get_string("asupan_1"))
try:
papnya = [
pap
async for pap in event.client.iter_messages(
"@CeweLogoPack", filter=InputMessagesFilterPhotos
)
]
await event.client.send_file(
event.chat_id, file=choice(papnya), reply_to=event.reply_to_msg_id
)
await xx.delete()
except Exception:
await xx.edit("**Tidak bisa menemukan pap.**")
@ultroid_cmd(pattern="ppcp$")
async def _(event):
xx = await event.eor(get_string("asupan_1"))
try:
ppcpnya = [
ppcp
async for ppcp in event.client.iter_messages(
"@ppcpcilik", filter=InputMessagesFilterPhotos
)
]
await event.client.send_file(
event.chat_id, file=choice(ppcpnya), reply_to=event.reply_to_msg_id
)
await xx.delete()
except Exception:
await xx.edit("**Tidak bisa menemukan pap couple.**")
@ultroid_cmd(pattern="desah$")
async def _(event):
xx = await event.eor(get_string("asupan_1"))
try:
desahcewe = [
desah
async for desah in event.client.iter_messages(
"@desahancewesangesange", filter=InputMessagesFilterVoice
)
]
await event.client.send_file(
event.chat_id, file=choice(desahcewe), reply_to=event.reply_to_msg_id
)
await xx.delete()
except Exception:
await xx.edit("**Tidak bisa menemukan desahan cewe.**")