Bot Permissions
For Codyx to function correctly, it needs certain permissions within your Discord server. Some are essential for basic operation, while others are required for specific features.
Core Permissions (Essential)
These permissions are generally required for the bot to respond to commands and display information correctly. Please ensure the bot has these in channels where you intend to use it:
- View Channel: Allows the bot to see channels.
- Send Messages: Allows the bot to send responses and messages.
- Embed Links: Allows the bot to send formatted messages (embeds).
- Read Message History: Allows the bot to read past messages, necessary for command context and some features.
- Attach Files: Allows the bot to upload files, like ticket transcripts.
Granting the bot the Administrator permission will give it all necessary permissions, but this is generally **not recommended** for security reasons unless you fully trust the bot and understand the implications.
Feature-Specific Permissions
Certain features require additional permissions:
- Tickets: Requires Manage Channels to create and manage ticket channels. Manage Messages might also be useful within ticket channels for staff.
- Welcome/Roles: Requires Manage Roles if you use features that automatically assign roles to members (e.g.,autoroles, reaction roles).
- Moderation: Requires permissions like Kick Members, Ban Members, Moderate Members (for timeouts), and potentially Manage Messages (for purging).
- Music: Requires Connect and Speak permissions in voice channels.
- Server Stats: May require Manage Channels to create and update stats counters, and Connect to view voice channel stats.
- Reaction Roles: Requires Manage Roles.
User Permissions
Some commands or actions might be restricted to users with specific Discord permissions or roles configured within the bot's dashboard:
- Configuration Commands: Typically restricted to users with server management permissions (e.g., Administrator, Manage Server).
- Moderation Commands: Restricted to users with appropriate moderation permissions (Kick, Ban, etc.) or designated 'Moderator' roles.
- Ticket Management: Closing or managing tickets might require the Manage Channels permission or specific 'Support Staff' roles configured in the dashboard.
- Music Commands: Commands like skipping, stopping, or volume control might be limited to the user who requested the song or users with a 'DJ' role.
Always ensure the bot's role is positioned sufficiently high in your server's role hierarchy (under Server Settings > Roles). It needs to be above roles it needs to manage (like roles assigned via reaction roles) but generally below administrator/moderator roles.