Petbot/modules
megaproxy 86902c6b83 Clean up IRC command architecture and eliminate redundancy
Major cleanup of the modular command system:

**Legacy Code Removal:**
- Removed all legacy command handlers from src/bot.py (74 lines)
- Eliminated outdated command implementations superseded by modular system
- Maintained backward compatibility while cleaning up codebase

**Duplicate Command Consolidation:**
- Removed duplicate status/uptime/ping commands from admin.py
- Kept comprehensive implementations in connection_monitor.py
- Eliminated 3 redundant commands and ~70 lines of duplicate code

**Admin System Standardization:**
- Updated backup_commands.py to use central ADMIN_USER from config.py
- Updated connection_monitor.py to use central ADMIN_USER from config.py
- Removed hardcoded admin user lists across modules
- Ensured consistent admin privilege checking system-wide

**Benefits:**
- Cleaner, more maintainable command structure
- No duplicate functionality across modules
- Consistent admin configuration management
- Reduced codebase size while maintaining all functionality
- Better separation of concerns in modular architecture

This cleanup addresses technical debt identified in the command audit
and prepares the codebase for future development.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-17 17:00:06 +00:00
..
__init__.py Update module loading and rate limiting for healing system integration 2025-07-16 11:33:23 +00:00
achievements.py Add unified navigation bar to all webserver pages 2025-07-15 16:59:16 +01:00
admin.py Clean up IRC command architecture and eliminate redundancy 2025-07-17 17:00:06 +00:00
backup_commands.py Clean up IRC command architecture and eliminate redundancy 2025-07-17 17:00:06 +00:00
base_module.py Implement comprehensive rate limiting system and item spawn configuration 2025-07-15 20:10:43 +00:00
battle_system.py Integrate pet fainting tracking into battle system 2025-07-16 11:32:38 +00:00
connection_monitor.py Clean up IRC command architecture and eliminate redundancy 2025-07-17 17:00:06 +00:00
core_commands.py Add unified navigation bar to all webserver pages 2025-07-15 16:59:16 +01:00
exploration.py Fix exploration and battle system state management bugs 2025-07-15 16:58:18 +01:00
gym_battles.py Fix exploration and battle system state management bugs 2025-07-15 16:58:18 +01:00
inventory.py Implement comprehensive pet healing system with revive items and database support 2025-07-16 11:32:01 +00:00
npc_events.py Add comprehensive NPC events system with community collaboration 2025-07-16 11:34:01 +00:00
pet_management.py Enhance web interface and item system with user experience improvements 2025-07-15 20:47:37 +00:00
team_builder.py Implement secure team builder with PIN verification system 2025-07-14 17:08:02 +01:00