UniBorg
1.06K 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
scrap streams from https://radiosindia.com/

import aiohttp
import re
from asyncio import sleep
from bs4 import BeautifulSoup
import json
base_url = "https://radiosindia.com/"
mr = "malayalamradio.html"
first_url = base_url + mr
a = {}
async with aiohttp.ClientSession() as requests:
first_response = await (await requests.get(first_url)).text()
soup_one = BeautifulSoup(first_response, "html.parser")
online_stations = soup_one.find_all("div", {"class": "grid_1_of_2"})
for each_stn in online_stations:
bn = each_stn.find("a").get("href")
scnd_url = base_url + bn
stn_response = await (await requests.get(scnd_url)).text()
radio_stn_uri__ = re.search("var player \= .*file\:\"(.*)\"\,.*", stn_response)
if radio_stn_uri__:
radio_stn_uri = radio_stn_uri__.group(1)
a[bn] = radio_stn_uri
print(json.dumps(a, sort_keys=True, indent=4))


©️ @PlayASong 🈯️
This media is not supported in your browser
VIEW IN TELEGRAM
Potential security issue that does not affect @UniBorg 🧐

There may be a security issue introduced by a future telegram update.

If you are running a userbot that allows executing commands from a forwarded message (ub does not), I suggest disabling it (at least temporarily) to be sure of the security of your account.

To userbot maintainers: please ignore all forwarded messages!
create recursive stickers using @QuotlyBot

from asyncio import sleep
r_limit = 7
for o in range(r_limit):
await reply.reply("/q")
await sleep(o)
reply = (
await client.get_messages(
entity=message.chat_id,
from_user="@QuotLyBot"
)
)[0]



it is forbidden to abuse, spam, or by any means consume, content without explicit permission from the developer of @QuotlyBot. UniBorg is not associated nor affiliated with this third party Telegram bot and does not endorse any use of it. If you believe this snippet is spammy, please reply to this message to get it removed.

ℹ️ @UniBorg
kick all users in groups based on number of messages

async for u in client.iter_participants(message.chat_id, limit=None):
if u and not u.deleted:
k = (await client.get_messages(message.chat_id, limit=0, from_user=u)).total
await message.respond(f"{u.id} has sent {k} messages. Kicking.")
await client.kick_participant(message.chat_id, u)


@UniBorg
😡 have you accidentally left your private channel 😐, and want to re-join 🤔😅

channel_name = "@uniborg private channel by @MalayalamTrollVoice"
async with client.takeout(finalize=True) as takeout:
a = await takeout(functions.channels.GetLeftChannelsRequest(offset=0))
for c in a.chats:
if channel_name in c.title:
print((await takeout(functions.messages.ExportChatInviteRequest(peer=c))).link)
break


@UniBorg
UniBorg
😁 Sticker
If SpEcHiDe/UniBorg is getting banned by Heroku,
you can try deploying by cliicking here.

👉 Please reply to this message, if it is working for you

E️DIT: apparently, app still getting suspended 😂😂
delete all your messages in a chat, without being admin!

from asyncio import gather

ec = message.chat_id
oo = "me"
lmt = 99

gather(*[client.delete_messages(ec, id)
for id in [
msg.id
for msg in await client.get_messages(ec, limit=lmt, from_user=oo)
if msg
]
])


©
EVAL: [p(f"{two.emoticon} : https://tttttt.me/addtheme/{two.theme.slug}") for two in (await client(functions.account.GetChatThemesRequest(hash=0))).themes]

OUTPUT:
'🦁 : https://tttttt.me/addtheme/TzmDSfZB3Jpo8rPa'
' : https://tttttt.me/addtheme/OneKsXbxszAviWox'
'💎 : https://tttttt.me/addtheme/EfmGihKfksqPNM0s'
'👨\u200d🏫 : https://tttttt.me/addtheme/m0GO25WGgAGWTK4L'
'🌷 : https://tttttt.me/addtheme/UW1iFxAfcVnthTGD'
'🔮 : https://tttttt.me/addtheme/tCVDhTa6f6TL5RCo'
'🎄 : https://tttttt.me/addtheme/gC1Vqv8HCqr7YBl4'
'🎮 : https://tttttt.me/addtheme/asq5HjXic5xIUzeN'
UniBorg changed the chat theme to 💎
UniBorg changed the chat theme to 👨‍🏫
UniBorg changed the chat theme to 🌷
UniBorg changed the chat theme to 🔮
UniBorg changed the chat theme to 🎄
UniBorg changed the chat theme to 🎮
Reply to all Pinned Messages of a chat, with a random emojie

from asyncio import sleep
so = ["😎", "😱", "😍"]
I = 0
async for msg in client.iter_messages(message.chat_id, filter=types.InputMessagesFilterPinned):
await msg.reply(so[I % len(so)])
await sleep(5)
I = I + 1
p(I)
🧐 how does Telegram decide when to show the CHAT_TOO_BIG error?

#Telethon

from telethon.tl.functions.help import GetAppConfigRequest as g
res = await client(g())
sre = (
next(
(
x for x in res.value if 'chat_read_mark_size_threshold' in x.key
)
)
).value.value
p(sre)


#Pyrogram

from pyrogram.raw.functions.help import GetAppConfig as g
client = userge
res = await client.send(g())
sre = (
next(
(
x for x in res.value if 'chat_read_mark_size_threshold' in x.key
)
)
).value.value
print(sre)


ℹ️ @UniBorg