Files
2025-07-10 21:02:34 +03:00

40 lines
2.5 KiB
Python
Raw Permalink 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 2022 t.me/Dorotoro
# https://www.gnu.org/licenses/agpl-3.0.html
# meta banner: https://raw.githubusercontent.com/dorotorothequickend/DorotoroModules/main/banners/DorotoroFkinRickRoll.png
# meta developer: @DorotoroMods
from .. import loader, utils
from telethon.tl.functions.account import UpdateProfileRequest
@loader.tds
class FuckingRickRoll(loader.Module):
"""Лучший способ зарикроллить собеседника."""
strings = {"name": "FkinRickRoll"}
@loader.command()
async def rickvid(self, message):
"- стандартный RickRoll."
if message.out:
await message.delete()
photo = await self._client.send_file(message.to_id, "https://siasky.net/AAAszL8plrdwyskshNBDBNBQx7IeQGVajIVq305Xd7w4vg", caption="<b><i>You've been Rickrolled!</i></b>")
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
await self._client(UploadProfilePhotoRequest(upload))
@loader.command()
async def rickbait(self, message):
"- отправляет видео с океаном, в конце которого вашего собеседника ждет RickRoll."
if message.out:
await message.delete()
photo = await self._client.send_file(message.to_id, "https://siasky.net/_Al0XoSpEfN-aZlzdzQX2jc92xCKjlVHAC1uvcvDrRg7fw")
upload = await self._client.upload_file(await self._client.download_file(photo, bytes))
await self._client(UploadProfilePhotoRequest(upload))