PyBotRex simplifies Telegram bot creation with a clean and intuitive interface for commands, messaging, buttons, and more.
Project description
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! 🦖🤖
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrexbot-1.0.4.tar.gz.
File metadata
- Download URL: pyrexbot-1.0.4.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c5874bd036417829dee65daa938fc364cd919f465ab1143dcb3adce7832a0a9
|
|
| MD5 |
39287065a20a2d91e76187bcf371580b
|
|
| BLAKE2b-256 |
3d7f3a62634d2f11ec588a6aa8f33ca60f40274bba86169d7b87def79c5daf9e
|
File details
Details for the file PyRexBot-1.0.4-py3-none-any.whl.
File metadata
- Download URL: PyRexBot-1.0.4-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b003be6eac56c05d14677bc85be303542310a1fcb05922b8096f6e0e5ceb3d7c
|
|
| MD5 |
5ff73cf2b9d4956d0678f175ffe47565
|
|
| BLAKE2b-256 |
cee767c1f8d558a4ddc18020dd35904734a0687d84f48b2fb99d2bcf6f81b79a
|