Update: Major code refactor for modular extensibility
CI/CD Pipeline / Unit Tests (Python 3.11) (push) Successful in 29s
CI/CD Pipeline / Unit Tests (Python 3.12) (push) Successful in 30s
CI/CD Pipeline / Code Quality & Linting (push) Successful in 23s
CI/CD Pipeline / Unit Tests (Python 3.13) (push) Successful in 27s
CI/CD Pipeline / Integration Tests (push) Successful in 21s
CI/CD Pipeline / Security Scanning (push) Successful in 2m16s
CI/CD Pipeline / Generate Test Report (push) Successful in 4s
CI/CD Pipeline / Build Docker Image (push) Successful in 44s
CI/CD Pipeline / CI/CD Pipeline Status (push) Successful in 2s

This commit is contained in:
k.eaven committed 2026-10-24 10:58:01 +00:00
1 parent d891b21ffd
commit 346e6d9604
13 files changed
+3266 -443

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
"""
Pterodactyl Discord Bot
A feature-rich Discord bot for monitoring and managing Pterodactyl/Pelican Panel
game servers through Discord, providing real-time status monitoring and control
capabilities with an intuitive interface.
Modules:
- config: Configuration management and validation
- api: Panel API client (Pterodactyl/Pelican)
- models: Pydantic data models
- metrics: Server metrics tracking and graph generation
- embeds: Discord embed management and persistence
- views: Discord UI components (buttons, dropdowns)
- bot: Main bot class and command definitions
- exceptions: Custom exception classes
"""
__version__ = "2.0.0"
__author__ = "Eaven Kimura"
from config import Config, load_config, generate_config_from_env
from exceptions import (
PterodisBotError,
ConfigValidationError,
APIError,
ServerNotFoundError,
PermissionError,
EmbedNotFoundError,
MetricsError,
)
__all__ = [
"Config",
"load_config",
"generate_config_from_env",
"PterodisBotError",
"ConfigValidationError",
"APIError",
"ServerNotFoundError",
"PermissionError",
"EmbedNotFoundError",
"MetricsError",
]