Skip to main content

pyromod

A monkeypatcher add-on for Pyrogram

Powerful add-on that monkeypatches extra useful features.
Get user responses (or button clicks) effortlessly with a single line of code.
Create keyboard-based interfaces for your bots with ease and fun.
Effortlessly send messages with inline keyboards from your userbots.
Chat Simulator
@Client.on_message(filters.command("start"))
    def start(client, message):
        chat = message.chat
        response = await chat.ask("Oh hey! What is your name?")
        name = response.text
        response = await chat.ask(f"Hello {name}! Please tell me your age.")
        age = response.text
        response = await chat.ask(f"So you are {age} years old. Now i wanna know your hobby. What do you like to do?")
        hobby = response.text
        await message.reply(f"Oh, i see. Okay, so your name is {name}, you are {age} years old and you like to {hobby}. Nice to meet you!")
Get Started