π― ExamplesΒΆ
Examples of using Pyrobale
Quick startΒΆ
from pyrobale import Client
from pyrobale.filters import text_filter
bot = Client("YOUR_BOT_TOKEN")
@bot.on_message(text_filter("hi"))
async def hello_handler(client, message):
await message.reply("hi! π")
bot.run()