An AI-powered self-bot for Discord that uses Groq and Llama 3 to deliver intelligent, context-aware responses.
| Option | Description |
|---|---|
systemPrompt |
Defines the personality and behavior of the AI |
model |
Groq model to use (llama3-70b-8192 recommended)
|
maxTokens |
Maximum length of each reply |
historyLimit |
Number of messages to remember per channel |
replyOnly |
Only respond when mentioned or replied to (recommended) |
Powered by Groq's Llama 3 70B model for high-quality, context-aware replies.
Define the bot's persona through a configurable system prompt.
Remembers recent messages per channel for coherent multi-turn dialogue.
Only responds when mentioned or replied to, avoiding noise in busy channels.
Control response length with configurable maxTokens setting.
Built-in PM2 configuration for 24/7 hosting with auto-restart.
.env with
DISCORD_TOKEN
and
GROQ_API_KEY
Full source code included. Extract and follow the guide.