Help Command
Display available commands and documentation.The help category to display:
user, admin, or personasExamples
Response Format
When called without arguments, shows available categories:main.py:429-467
Test Spam Command
Send a test message to the spam channel to verify the spam system is working.Behavior
- Checks if spam messages are configured
- Retrieves a random message from the pool
- Sends the message to the spam channel (ID:
1004171793101230151) - Confirms delivery in the current channel
Example Output
Error Cases
Source:main.py:469-483
Spam Status Command
View the current status of the automated spam system.Information Displayed
Current state: ACTIVO or INACTIVO
Total number of spam messages in the pool
Messages remaining before the pool resets
How often messages are sent (every 12 hours)
The spam channel where messages are posted
Example Output
main.py:511-525
Permissions Command
View detailed permissions for the bot in the current server and channel.Permissions Checked
The command checks the following important permissions:Server Permissions
Server Permissions
- Administrator
- Manage Messages
- Moderate Members (Timeout)
- Kick Members
- Ban Members
- Manage Roles
- Manage Channels
- Use Application Commands
- Mention @everyone
- Manage Webhooks
Channel Permissions
Channel Permissions
- View Channel
- Send Messages
- Read Message History
- Add Reactions
- Manage Messages
- All other server-level permissions in context of the current channel
Example Output
Technical Details
The command uses Discord.py’s permission system:main.py:557-606
Persona Commands
Dynamic commands that return predefined responses about server members.Available Personas
How It Works
Persona commands are dynamically generated from therespuestas['personas'] dictionary:
main.py:144-152 (responses), main.py:609-616 (registration)
Adding New Personas
To add a new persona command, add an entry to therespuestas['personas'] dictionary in main.py:
Command Availability
All user commands are available in every channel except during spam detection events.
The bot processes commands at the end of the message handler to ensure spam detection and AI responses are evaluated first.
main.py:767
Next Steps
Admin Commands
Learn about administrator-only commands
AI Commands
Explore natural language AI commands