Mn Bots
20.1K subscribers
8 photos
1 file
23 links
This is the official Telegram channel of MN Bots.

GitHub: github.com/mn-bots
All our public repositories are available there.

#mnbots #mntgxo
Download Telegram
Should we create APIs for the public 🫣?
πŸ‘7❀1
Api Url = https://mnbots-api.vercel.app/


Endpoint= chat



Example Code

import httpx
from pyrogram import Client, filters, enums
from pyrogram.types import Message

# Helper: call your Koyeb-hosted FastAPI /chat endpoint
async def fetch_ai_response(prompt: str) -> str:
    url = "https://mnbots-api.vercel.app/chat"
    payload = {
        "messages": [{"role": "user", "content": prompt}],
        "stream": False
    }
    async with httpx.AsyncClient(timeout=None) as http_client:
        resp = await http_client.post(url, json=payload)
        resp.raise_for_status()
        data = resp.json()
    return data["choices"][0]["message"]["content"]

# Register the /ask handler using class decorator
@Client.on_message(filters.command("ask") & filters.private)
async def ask_handler(client: Client, message: Message):
    if len(message.command) < 2:
        return await message.reply("Usage: /ask <your question>")

    prompt = message.text.split(maxsplit=1)[1]

    # Show "typing..." action
    await client.send_chat_action(
        chat_id=message.chat.id,
        action=enums.ChatAction.TYPING
    )

    try:
        answer = await fetch_ai_response(prompt)
        await message.reply(answer)
    except Exception as e:
        await message.reply(f"⚠️ API error: {e}")
πŸ‘7❀4😒1
Mn Bots pinned Deleted message
✨ ShobanaFilterBot Update! ✨

β€’  GitHub: πŸ”— https://github.com/mn-bots/ShobanaFilterBot (⭐ If you find this bot helpful, give us a star on GitHub!)

β€’  New Features:
  β€’  Integrated Auto-Delete: No need for a separate auto-delete bot!
  β€’  New Commands: Use /movies and /series to quickly find newly added content.
  β€’  Hyperlink Mode: Enhanced link formatting for improved usability.

β€’  Bug Reports/Support: Need help or found a bug? Contact us at: @mnbots_support

Solved Some Errors
❀7πŸ‘6😍1
✨ Introducing our new bot! πŸ€– @Tera_Box_Downloader_mnbot πŸ€–

Send a TeraBox link to download videos!

⚠️ Found an issue or have a suggestion? Reach out to our support team @mnbots_support β€” we’re always working to improve! πŸ›

(Note: Remember, only videos under 200MB are supported for now!)
❀4⚑2πŸ‘2😍1πŸ†1
Mn Bots
200MB
Now 1.5GB+ supported
❀5
Should I create a simple, auto-delete public repo for personal use?
Anonymous Poll
82%
yes
18%
no
❀2
Mn Bots
✨ Introducing our new bot! πŸ€– @Tera_Box_Downloader_mnbot πŸ€– Send a TeraBox link to download videos! ⚠️ Found an issue or have a suggestion? Reach out to our support team @mnbots_support β€” we’re always working to improve! πŸ› (Note: Remember, only videos under…
How to set up the dumb channel:
1. Create a new channel.
2. Make the bot an admin with all permissions.
3. Send the command:
/setchat followed by your channel ID.

(Note: Bot Only Send Files In Dumb Channel )
❀2
Send your TeraBox links directly to @Tera_Box_Downloader_mnbot in a private message.

β€’ No limits
β€’ No channel setup
β€’ Errors fixed
β€’ Supports videos under 2GB

Just verify and send your link!
❀2⚑1πŸ‘1
✨ ShobanaFilterBot Update! ✨

β€’ GitHub:
πŸ”— https://github.com/mn-bots/ShobanaFilterBot
⭐ If you find this bot helpful, please give us a star on GitHub!

β€’ New Features:
β€’ Delete Files by Query:
  Use the /deletefiles command to delete all files containing a specific word in their filename.
  For example, /deletefiles predvd removes all files with β€˜predvd’ in their filename.
β€’ Multiple Request Fsub Channel Support:
  You can add multiple channels. Easily update the required channels with the /fsub command, e.g.,
  /fsub (channel1 id) (channel2 id) (channel3 id)

β€’ Bug Reports / Support:
Need help or found a bug? Contact us at: @mnbots_support
❀13πŸ”₯4⚑1πŸ‘1πŸ‘1😍1πŸ†1
Would you like me to create any new repos, bots, or add new features to existing projects? Let me know!
❀4⚑1
need terabox downloader repo?πŸ™‚
Anonymous Poll
78%
yes
22%
no
😍5❀4πŸ‘2🌚2⚑1
Mn Bots
need terabox downloader repo?πŸ™‚
I need at least 50 reactions 🫠 to do this
❀33🌚8😍6πŸ†3⚑2πŸ”₯2πŸ₯°1πŸ‘1
Mn Bots
I need at least 50 reactions 🫠 to do this
πŸ‘€
Please open Telegram to view this post
VIEW IN TELEGRAM
❀11🌚5😍3