Add comprehensive Support cog that automatically disables and replaces Red's built-in contact and dm commands with enhanced, feature-rich versions. Features: - Command override mechanism (disables core commands on load, restores on unload) - Multi-category support system with dedicated channels - Custom emojis, greetings, and descriptions per category - User blocking/unblocking system - Comprehensive logging to dedicated log channel - Anonymous mode for staff replies - Enhanced embed formatting - Category selection dropdown UI - Staff control buttons (Close Thread, Block User) - Reply modal for staff responses - Background thread cleanup task Commands: - [p]contact - Enhanced contact command (DM only) - [p]dm - Enhanced DM command with logging - [p]supportset - 15 admin configuration commands Documentation: - README.md - Full documentation (7.9K) - QUICKSTART.md - Quick setup guide (2.5K) - EXAMPLES.md - Configuration examples (8.1K) - TECHNICAL.md - Technical docs (8.6K) - CHANGELOG.md - Version history - test_override.py - Override mechanism reference Technical: - 625 lines of code - 33 async functions - Full type hints - Config-based data storage - Red 3.5.0+ compatible - Follows NexusCore patterns Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
14 lines
449 B
Python
14 lines
449 B
Python
"""Support — Modernized contact/DM system replacing Red's built-in commands."""
|
|
|
|
from .support import Support
|
|
|
|
__red_end_user_data_statement__ = (
|
|
"This cog stores Discord user IDs, guild IDs, channel IDs, and message content "
|
|
"for support ticket/DM functionality. Data includes: support messages, categories, "
|
|
"conversation history, and user preferences."
|
|
)
|
|
|
|
|
|
async def setup(bot):
|
|
cog = Support(bot)
|
|
await bot.add_cog(cog)
|