EveCogs/wormhole
root 0c41ae0b9f feat(wormhole): disable context menus to eliminate load issues
Problem: Context menus persist in Discord's command tree even after bot
shutdown, causing 'already loaded' errors on restart. The idempotent
registration fix helped but added complexity.

Solution: Disable context menus entirely. All functionality remains
available via slash/prefix commands:
  - Report: /wh report message [msg_id] [reason]
  - Bookmark: /wh bookmark save [msg_id]
  - Delete: /wh delete [msg_id] (staff only)
  - Profile: /wh profile [user]

Changes:
- Commented out _register_context_menus() call in _init()
- Kept registration/callback code for future reference
- Simplified cog_unload() - no context menus to remove

Benefits:
- No command tree registration complexity
- Clean reload every time
- No phantom 'already loaded' state
- Simpler cog lifecycle

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-05-26 16:35:27 +00:00
..
commands fix: wire up missing feature enforcement in relay 2026-05-14 19:33:58 +00:00
listeners fix: wire up missing feature enforcement in relay 2026-05-14 19:33:58 +00:00
models refactor: Wormhole v4.0.0 — full modular architecture with hierarchical staff 2026-05-14 19:07:49 +00:00
services refactor: Wormhole v4.0.0 — full modular architecture with hierarchical staff 2026-05-14 19:07:49 +00:00
ui refactor: Wormhole v4.0.0 — full modular architecture with hierarchical staff 2026-05-14 19:07:49 +00:00
__init__.py refactor: Wormhole v4.0.0 — full modular architecture with hierarchical staff 2026-05-14 19:07:49 +00:00
ARCHITECTURE.md fix(wormhole): fix persistence bug and finalize v4.0.0 modular architecture 2026-05-26 16:26:03 +00:00
core.py feat(wormhole): disable context menus to eliminate load issues 2026-05-26 16:35:27 +00:00
info.json refactor: Wormhole v4.0.0 — full modular architecture with hierarchical staff 2026-05-14 19:07:49 +00:00
MODULE_MAP.md fix(wormhole): fix persistence bug and finalize v4.0.0 modular architecture 2026-05-26 16:26:03 +00:00
utils.py feat: per-network mention config + user opt-in/out for pings 2026-05-12 15:49:56 +00:00