Cleaned up bot cogs to only load essential moderation, management, and server-related commands. Removed all non-essential fun/utility commands to streamline the bot for professional server management.
-
commands.core - Essential bot commands
/ping- Check bot latency/info- Bot information/help- Help command
-
commands.diagnostics - System diagnostics
?diag//diag- Bot diagnostics
-
commands.moderation - Core moderation
/purge,/kick,/ban,/unban/addpoints,/removepoints- Moderation point system/warn,/mute,/unmute
-
commands.moderation_extended - Advanced moderation
/serverinfo,/userinfo,/roleinfo/lockdown,/slowmode/addrole,/removerole- Role management (color, name, etc.)
-
commands.protection - Anti-abuse systems
- Anti-spam detection
- Anti-raid detection
- Anti-nuke protection
!antispam,!antiraid,!antinukestatus commands
-
commands.appeals - Appeal system
/appeal- DM-based unban appeal system
-
commands.staff_shifts - Shift tracking
/shift start,/shift end,/shift pause,/shift resume/shift log,/shift status/shift settings- Admin configuration
-
commands.staff_points - Aura system
/points give,/points remove,/points view/points leaderboard,/points history- Auto-thanks detection for staff appreciation
- commands.afk - AFK system
/afk- Set away status- Auto-response when mentioned
-
commands.data_management - Backup management
/backup create,/backup restore/backup list,/backup auto- Data persistence and GitHub backup
-
commands.utility - Embed builder
/embed create- Create custom embeds/embed edit- Edit existing embeds- Useful for professional announcements
-
events.member_events - Member events
- Join/leave logging
- Welcome system
- Member update tracking
-
events.message_handler - Message events
- Auto-thanks detection for staff aura
- Command error handling
- Message processing
-
commands.utility_extra - Fun commands (REMOVED)
/emotes- List server emojis/membercount- Member count/randomcolor- Random color generator/roll- Dice roller/remindme- Reminder system/inviteinfo- Invite information
-
commands.roles - Self-assignable ranks (REMOVED)
- File was deleted during previous cleanup
- Already commented out in cogs list
- 15 cogs loaded (including 1 commented out)
- Mixed purpose: moderation, fun, utility, games
- ~87+ slash commands
- 13 cogs loaded
- Focused purpose: moderation, management, staff tools
- Estimated ~75 slash commands (removed ~12 fun commands)
- ✅ Cleaner command list - Only professional/essential commands
- ✅ Faster bot startup - Fewer cogs to load
- ✅ Less maintenance - Fewer systems to debug
- ✅ Professional focus - Moderation and management only
- ✅ Command slot savings - Removed ~12 non-essential commands
- ❌ No more
/roll,/remindme,/randomcolorcommands - ❌ No more
/emotes,/inviteinfo,/membercountcommands - ✅ All moderation commands still work
- ✅ All staff management still works
- ✅ All protection systems still active
- ✅ Backup and embed builder kept as requested
The bot now loads only these cogs (in src/bot.py):
COGS_TO_LOAD = [
'commands.core',
'commands.diagnostics',
'commands.moderation',
'commands.moderation_extended',
'commands.protection',
'commands.appeals',
'commands.staff_shifts',
'commands.staff_points',
'commands.afk',
'commands.data_management',
'commands.utility',
'events.member_events',
'events.message_handler',
]- ✅
src/commands/core.py - ✅
src/commands/diagnostics.py - ✅
src/commands/moderation.py - ✅
src/commands/moderation_extended.py - ✅
src/commands/protection.py - ✅
src/commands/appeals.py - ✅
src/commands/staff_shifts.py - ✅
src/commands/staff_points.py - ✅
src/commands/afk.py - ✅
src/commands/data_management.py - ✅
src/commands/utility.py - ✅
src/events/member_events.py - ✅
src/events/message_handler.py
- 📦
src/commands/utility_extra.py- Still exists but not loaded
- ❌
src/commands/roles.py- Deleted in previous cleanup
If you need to restore fun commands:
- Uncomment in
COGS_TO_LOAD:'commands.utility_extra', # Fun commands
- Restart the bot
- ✅ Commit changes to git
- ✅ Push to repository
- ✅ Restart bot to apply changes
- ✅ Test that all moderation commands work
- ✅ Verify reduced command count in Discord
Cleanup performed: October 2, 2025 Session: Bot optimization - Essential cogs only