PyBotRex
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-bot20.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
- Author: TraxDinosaur
- Website: TraxDinosaur.github.io
- GitHub: TraxDinosaur
Happy Bot Building with PyBotRex! 🦖🤖
Metadata
Release files for PyRexBot 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrexbot-1.0.4.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyRexBot-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / pyrexbot-1.0.4.tar.gz
| Download URL | pyrexbot-1.0.4.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c5874bd036417829dee65daa938fc364cd919f465ab1143dcb3adce7832a0a9
|
|
BLAKE2b-256 checksum How to use checksums |
3d7f3a62634d2f11ec588a6aa8f33ca60f40274bba86169d7b87def79c5daf9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|
Release files / PyRexBot-1.0.4-py3-none-any.whl
| Download URL | PyRexBot-1.0.4-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b003be6eac56c05d14677bc85be303542310a1fcb05922b8096f6e0e5ceb3d7c
|
|
BLAKE2b-256 checksum How to use checksums |
cee767c1f8d558a4ddc18020dd35904734a0687d84f48b2fb99d2bcf6f81b79a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|