UniBorg
1.21K subscribers
4 photos
1 video
16 files
39 links
WORST UserBot with the WORST features!!

https://GitHub.com/SpEcHiDe/UniBorg

All code in this channel is licensed under GPLv3, except where otherwise noted!

[Licensed under CC BY 3.0 https://creativecommons.org/licenses/by/3.0/]

ℹ️ @SpEcHlDe
Download Telegram
Change the Channel Photo from a stickerpack


import asyncio
import os
from PIL import Image
STICKER_PACK_SHORT_NAME = "TGXUyir"
SLEEP_DELAY = 60
d = await event.client(functions.messages.GetStickerSetRequest(types.InputStickerSetShortName(STICKER_PACK_SHORT_NAME)))
for u in d.documents:
r = await event.client.download_media(u)
T = "sticker.jpg"
Image.open(r).convert("RGB").save(T, "JPEG")
os.remove(r)
t = await event.client.upload_file(T)
os.remove(T)
await event.client(functions.channels.EditPhotoRequest(channel=event.chat_id, photo=t))
await asyncio.sleep(SLEEP_DELAY)


#channel #prank #change #picture

©️ @UniBorg