Proactive Mode Guide
Proactive Mode Guide
A deep dive into the intelligent conversation engagement system of the Skillful AI Discord bot.
Overview
Overview
Proactive mode allows the bot to intelligently join conversations based on activity levels and engagement metrics. The system uses multiple factors to determine when and how to engage in ongoing discussions.
Enabling Proactive Mode
Enabling Proactive Mode
How It Works
How It Works
Engagement Scoring
The bot calculates an engagement score (0-100) based on three factors:
Message Frequency (30%)
Measures messages per minute
Optimal range: 4-8 messages/minute
Maximum score: 30 points
Active Participants (30%)
Counts unique users in conversation
Each user adds 10 points
Maximum score: 30 points
Message Recency (40%)
Measures time since last message
Decays over minutes
Maximum score: 40 points
Engagement Decision
For each message, the bot:
Calculates the engagement score
Generates a random number (0-100)
Engages if the random number is below the score
Applies a 30-second cooldown after engagement
Example:
Cooldown System
30-second cooldown between engagements
Applies per channel
Prevents excessive responses
Resets after each engagement
User Context
The bot maintains:
Last 50 messages per channel
Active user tracking
User activity timestamps
Proper Discord mention formats
Configuration
Configuration
Threshold Adjustment
Debug Logging
Debug Logging
Enable detailed logging:
Example debug output:
Best Practices
Best Practices
Threshold Selection
50: Balanced engagement
70: More selective
30: More frequent
Test and adjust based on your community
Channel Considerations
Works best in active channels
Adapts to channel activity levels
Respects channel-specific cooldowns
User Experience
Bot mentions active users naturally
Maintains conversation context
Avoids spam through cooldown system
Last updated