mirror of
https://github.com/MuRuLOSE/limoka.git
synced 2026-06-18 07:04:19 +02:00
Commited backup
This commit is contained in:
39
dorotorothequickend/DorotoroModules/FkinRickRoll.py
Normal file
39
dorotorothequickend/DorotoroModules/FkinRickRoll.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# █████████████████████████████████████████
|
||||
# █────██────█────█────█───█────█────█────█
|
||||
# █─██──█─██─█─██─█─██─██─██─██─█─██─█─██─█
|
||||
# █─██──█─██─█────█─██─██─██─██─█────█─██─█
|
||||
# █─██──█─██─█─█─██─██─██─██─██─█─█─██─██─█
|
||||
# █────██────█─█─██────██─██────█─█─██────█
|
||||
# █████████████████████████████████████████
|
||||
#
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user