EveCogs/wormhole/commands/__init__.py
Viktor AI 4bc143b26f fix: group all commands under 'wh' parent — no more flat wh-xxx commands
Commands now show as 'wh create', 'wh staff add', 'wh set relaymode'
instead of 'wh-create', 'wh-staff add', 'wh-set relaymode'.

- Added commands/_base.py with root 'wh' group and all 20 subgroup stubs
- All 13 command mixins inherit from WormholeBase
- Decorators changed: @commands.hybrid_command(name='wh-X') → @WormholeBase.wh.command(name='X')
- Subgroup commands: @wh_X.command() → @WormholeBase.wh_X.command()
- Removed duplicate 'wh' group from core.py (now in _base.py)
- Fixed alias: 'wh-color' → 'color' for colour command
2026-05-14 19:24:37 +00:00

33 lines
899 B
Python

"""Command modules — each is a mixin class inherited by the main Wormhole cog."""
from ._base import WormholeBase
from .advanced import AdvancedCommands
from .bridge import BridgeCommands
from .debug import DebugCommands
from .dm import DMCommands
from .filters import FilterCommands
from .mentions import MentionCommands
from .moderation import ModerationCommands
from .network import NetworkCommands
from .reports import ReportCommands
from .settings import SettingsCommands
from .social import SocialCommands
from .staff import StaffCommands
from .tos import ToSCommands
__all__ = [
"WormholeBase",
"AdvancedCommands",
"BridgeCommands",
"DebugCommands",
"DMCommands",
"FilterCommands",
"MentionCommands",
"ModerationCommands",
"NetworkCommands",
"ReportCommands",
"SettingsCommands",
"SocialCommands",
"StaffCommands",
"ToSCommands",
]