Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyBotRex

PyBotRex Logo

PyBotRex simplifies Telegram bot development with an intuitive interface for commands, messaging, buttons, and more. Build interactive Telegram bots effortlessly with a clean and reusable design.


🚀 Features

  • Command Handling: Easily add commands with custom callbacks.
  • Message Handling: Process messages with text or media filters.
  • Inline Buttons: Create interactive inline keyboard buttons.
  • Advanced Features: Inline queries, error handling, and custom updates.
  • Async Support: Fully asynchronous with python-telegram-bot 20.0+.

🛠 Installation

Install PyBotRex using pip:

pip install PyBotRex

📦 Quick Start

Here’s how you can build a basic bot:

from PyBotRex import PyBotRex
from telegram import Update
from telegram.ext import ContextTypes

# Initialize the bot
bot = PyBotRex("YOUR_TELEGRAM_BOT_TOKEN")

# Define a command
async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE):
    await bot.reply(update, "Welcome to PyBotRex!")

# Add the command
bot.add_command("start", start_command)

# Run the bot
bot.start()

📚 Documentation

Full documentation is available here.


🐛 Issues

Encountered a bug? Report it here.


📜 License

This project is licensed under the CC-BY-SA 4.0. See the LICENSE for more details.


🌟 Acknowledgments

Thanks to the community and contributors of python-telegram-bot for providing the foundation that made PyBotRex possible.


📬 Contact


Happy Bot Building with PyBotRex! 🦖🤖

About

PyBotRex is a Python library that simplifies Telegram bot development with easy-to-use features for commands, messages, buttons, and more.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages