9194
Share your bots, comment, test and have fun! Rules: Speak in English, Don't spam/advertise channels or groups that aren't bot related, respect other members, use common sense. @BOTLIST 🌟 @BotListBot 🤖 @BotListCollections 📔
Makes sense. In that case, from your perspective, what makes one of these bots worth using long-term?
Читать полностью…
As we both know what type of users are using such bots...if you follow some strictness, they will find another bot... Ph can't say "don't watch it" 💀
So, losing user is one thing that will happen to your bot.
Truth : Keeping bot and telegram safe should be your first priority more than userbase
Yeah I think it depends a lot on implementation...
Читать полностью…
Yeah it is but it eventually depends on you how you implement everything
Читать полностью…
If you wanna find idiot & ho*ny people in one place, use anonymous chatting bots.
Читать полностью…
We Didn't understand, please write correct spelling
Читать полностью…
Please, does anyone have a bot that can transfer content from one channel to another?
Читать полностью…
Hey guys, I'm downloading some files from Telegram to my VPS using a Pyrogram user session, but my download speed is maxing out at only 4 MB/s.
My VPS specs are: 6 vCPU Cores, 18 GB RAM, 1 TB SSD, 600 Mbit/s Port, and Unlimited Traffic.
Why am I getting such low speeds? Are there some Telegram limits I should know about?
Any best and cheap server to keep my bots online 24/7
Читать полностью…
It is not providing the actual results what I want.
Читать полностью…
Keep growing it everyday a lil bit, none user will use any bot forever.
Читать полностью…
#request
Hi nnbbot username have been changed to @eebbot please update the list
There is also an alternative bot with @whisper4bot username
Maybe it's a stretch, but wouldn't that alienate many users from the bot?
Читать полностью…
Delete legitimate content too. Remember it :
The fear of hell has created more believers than the love of heaven.
Is it reliable? I fear it may flag legitimate content as spam too often, which would need manual reviewing
Читать полностью…
That’s actually a thing I’m trying to solve in my bot by introducing some anti-spam features. How would you do it?
Читать полностью…
Question for people using anonymous chat bots here: what do you usually hate about them?
Читать полностью…
Thrpugh account or you have admin in both channels
Читать полностью…
For downloading from tg to vps you need to make worker, I did it with telethon but I never tried pyrogram.
Something like this
async def smart_download(client, message, destination, progress_callback=None):
try:
media = getattr(message, 'media', None)
if not media: return None
os.makedirs(os.path.dirname(os.path.abspath(destination)), exist_ok=True)
file_path = destination
document = getattr(media, 'document', None)
if not document or getattr(document, 'size', 0) < 8 * 1024 * 1024:
return await client.download_media(message, file=file_path, progress_callback=progress_callback)
dc_id = getattr(document, 'dc_id', client.session.dc_id)
input_location = InputDocumentFileLocation(
id=document.id, access_hash=document.access_hash,
file_reference=document.file_reference, thumb_size=""
)
file_size = document.size
part_size = 512 * 1024
total_parts = math.ceil(file_size / part_size)
with open(file_path, "wb") as f:
f.seek(file_size - 1)
f.write(b"\0")
downloaded_bytes, workers = 0, 3
semaphore = asyncio.Semaphore(workers)
async def download_worker(part_index):
nonlocal downloaded_bytes
offset, limit = part_index * part_size, part_size
async with semaphore:
request = GetFileRequest(location=input_location, offset=offset, limit=limit)
for attempt in range(3):
try:
if dc_id == client.session.dc_id:
result = await client(request)
else:
sender = await client._borrow_exported_sender(dc_id)
try: result = await sender.send(request)
finally: await client._return_exported_sender(sender)
with open(file_path, "r+b") as f:
f.seek(offset)
f.write(result.bytes)
downloaded_bytes += len(result.bytes)
if progress_callback:
cb = progress_callback(downloaded_bytes, file_size)
if inspect.isawaitable(cb): await cb
break
except Exception:
if attempt == 2: raise
await asyncio.sleep(1)
tasks = [asyncio.create_task(download_worker(i)) for i in range(total_parts)]
await asyncio.gather(*tasks)
return file_path
except Exception as e:
return await client.download_media(message, file=destination, progress_callback=progress_callback)
workers = 0, 3
A bot for converting simple latex formula to math output, using new markdown formatting of Telegram 12.8 for richtexts
Читать полностью…
Shhh... quiet now.
Muted 401.
Reason:
This isn't a webseries request group. Bots / channels that offer web series are illegal. telegram.org/tos
Is there any bot which split long video into 30-50sec clips?
Читать полностью…
Hmm, I wanted to promote my bot. I guess I'll have to look for other ways.
Читать полностью…