Back to Home
/ai

M4PID

An AI-powered self-bot for Discord that uses Groq and Llama 3 to deliver intelligent, context-aware responses.

JS Node.js AI Groq API CF Configurable
m4pid --info
$ m4pid --info
Model llama3-70b-8192
Memory 10 messages
Mode reply-only
Tokens 1024 max
Self-bot notice: M4PID uses a Discord user token (not a bot token). Self-bots violate Discord's Terms of Service. Use on a secondary / alt account at your own risk.

Configuration

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)

Features

Smart Responses

Powered by Groq's Llama 3 70B model for high-quality, context-aware replies.

Custom Personality

Define the bot's persona through a configurable system prompt.

Conversation Memory

Remembers recent messages per channel for coherent multi-turn dialogue.

Reply-Only Mode

Only responds when mentioned or replied to, avoiding noise in busy channels.

Token Limit

Control response length with configurable maxTokens setting.

PM2 Ready

Built-in PM2 configuration for 24/7 hosting with auto-restart.

Setup

1 Install dependencies: npm install
2 Create a .env with DISCORD_TOKEN and GROQ_API_KEY
3 Configure personality and behavior in config.js
4 Run: npm start
5 For 24/7 hosting: pm2 start
Complete guide included: The ZIP file contains a full, accurate setup guide with every detail you need. No need to search elsewhere — everything is inside.
Download ZIP