Fixed BackupCommands module not being loaded into the bot system: - Added BackupCommands to modules/__init__.py imports and __all__ list - Added BackupCommands to module loading in run_bot_with_reconnect.py - Fixed constructor signature to match BaseModule requirements All 5 backup commands now properly registered and available to admin users: - \!backup - Create manual database backups - \!restore - Restore from backup files - \!backups - List available backups - \!backup_stats - Show backup system statistics - \!backup_cleanup - Clean up old backups based on retention policy 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
No EOL
693 B
Python
28 lines
No EOL
693 B
Python
#!/usr/bin/env python3
|
|
"""PetBot modules package"""
|
|
|
|
from .core_commands import CoreCommands
|
|
from .exploration import Exploration
|
|
from .battle_system import BattleSystem
|
|
from .pet_management import PetManagement
|
|
from .achievements import Achievements
|
|
from .admin import Admin
|
|
from .inventory import Inventory
|
|
from .gym_battles import GymBattles
|
|
from .team_builder import TeamBuilder
|
|
from .npc_events import NPCEventsModule
|
|
from .backup_commands import BackupCommands
|
|
|
|
__all__ = [
|
|
'CoreCommands',
|
|
'Exploration',
|
|
'BattleSystem',
|
|
'PetManagement',
|
|
'Achievements',
|
|
'Admin',
|
|
'Inventory',
|
|
'GymBattles',
|
|
'TeamBuilder',
|
|
'NPCEventsModule',
|
|
'BackupCommands'
|
|
] |