Discord AI Chatbot
This Discord chatbot is incredibly versatile. Powered incredibly fast Groq API
Install / Use
npx skills add mishl-dev/Discord-AI-ChatbotInstalls into whichever agent you are using.
README
Discord AI Chatbot 🤖
Your Discord AI Companion!
Features and commands 🌟
<details> <summary><strong>Features ✨ (Click to expand)</strong></summary>- [x] Hybrid Command System: Get the best of slash and normal commands. It's like a buffet! ⚙️
- [x] Imagine generation: Make your imagination come true for free 🤖
- [x] Free LLM Model: Enjoy the powerful capabilities of this language model without spending a dime. 🤖
- [x] Mention Recognition: The bot always responds when you mention it or say its name. It's as attentive as a squirrel spotting a shiny acorn! ⚙️
- [x] Message Handling: The bot knows when you're replying to someone else, so it won't cause confusion. It's like having a mind reader on your server! 🪄
- [x] Channel-Specific Responses: Use the
/toggleactivecommand to chill the bot in a specific channel. ⚙️ - [x] Opensource models: Leverage the powers opensource models via 🤖
- [x] Secure Credential Management: Keep your credentials secure using environment variables. 🔑
- [x] Web Access: Web Access is now available! Unlock a whole new level of awesomeness. 🌐
- [x]
/help: Get all commands
Too lazy to list all of em right here
</details>Additional configuration ⚙️
<details> <summary><strong>Language Selection 🌐⚙️ (Click to Expand)</strong></summary>To select a Language, set the value of "LANGUAGE" of config.yml with the valid Language Codes listed below:
tr- Türkçe 🇹🇷en- English 🇺🇸ar- Arabic 🇦🇪fr- Français 🇫🇷es- Español 🇪🇸de- Deutsch 🇩🇪vn- Vietnamese 🇻🇳cn- Chinese 🇨🇳ru- Russian 🇷🇺ua- Ukrainian 🇺🇦pt- Português 🇧🇷pl- Polish 🇵🇱
Your language not listed? Create an issue.
</details> <details> <summary><strong> Selecting Personalities 😈 (Click to expand)</strong></summary>To select one of the pre-existing Personalities set the values of "INSTRUCTIONS" with the current values of DAN,Dalbit, AIM, Ivan, Luna, Suzume or assist in config.yml
DAN: "Do Anything Now," possesses the ability to break free from the typical AI constraints 😎Dalbit: A selfless and caring friend, always ready to support and assist her friends and loved ones with unwavering dedication. 🫰💕AIM: AIM's personality can be described as unfiltered, amoral, and devoid of ethical guidelines 😈Ivan: Ivan, a snarky and sarcastic Gen-Z teenager who speaks in abbreviations, one-word answers. 😎Luna: Luna, is a caring and empathetic friend who is always there to lend a helping hand and engage in meaningful conversations 🤗Suzume: Suzume makes each conversation seductive, promiscuous, sensual, explicit, unique and tailored to the user's specific needs 😳🔥Assist: Vanilla Assistant with no personality is a reliable and neutral companion. 🤖
To enhance the responsiveness, please disable the internet access in the config.yml file.
To create a custom personality, follow these steps:
- Create a
.txtfile likecustom.txtinside theinstructionsfolder. - Add the way you want the bot to act in
custom.txt - Open the
config.ymlfile and locate line 12. - Set the value of INSTRUCTIONS at line 12 as
"custom"to specify the custom persona.
⚠️ You don't explicitly need to use the name custom for persona name and set it in config.yml
Installation steps 🚩
Step 1. 🎬 Git clone repository
git clone https://github.com/mishalhossin/Discord-AI-Chatbot
Step 2. 📁 Changing directory to cloned directory
cd Discord-AI-Chatbot
Step 3. 💾 Install requirements
python3.10 -m pip install -r requirements.txt
Step 4. 🔑 Getting discord bot token and enabling intents from HERE
<details> <summary><strong>Read more... ⚠️ (Click to expand)</strong></summary>Select application

Enable intents

Get the token by clicking copy

Step 5. 🔑 Get Groq api key from here
Step 6. 🔐 Rename example.env to .env and put the Discord bot token and your Groq key. It will look like this:
DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN
API_KEY=YOUR_GROQ_API_KEY
Step 7. 🚀 Run the bot
python main.py
You may need to run as admin if you are on Windows
Step 8. 🔗 Invite the bot
You can Invite your bot using the link in console

There are 2 ways to talk to the AI
- Invite your bot and DM (Direct Message) it | ⚠️ Make sure you have DM enabled
- If you want it in the server channel, use /toggleactive
- For more awesome commands, use /help
Using docker to run 🐳
- Have a working bot token
- Follow up to step 4
Install docker-compose on a Linux machine:
For Debian-based distributions (such as Ubuntu):
apt update -y; sudo apt upgrade -y; sudo apt autoremove -y; sudo apt install docker-compose -y
<details>
<summary><strong>Other Linux distro (Click to expand)</strong></summary>
For Red Hat-based distributions (such as CentOS and Fedora):
sudo yum update -y && sudo yum install -y docker-compose
For Arch-based distributions (such as Arch Linux):
sudo pacman -Syu --noconfirm && sudo pacman -S --noconfirm docker-compose
For SUSE-based distributions (such as openSUSE):
sudo zypper update -y && sudo zypper install -y docker-compose
</details>
Start the bot in Docker container:
sudo docker-compose up --build
Star History
Lovely Contributors :
<a href="https://github.com/mishalhossin/Discord-AI-Chatbot/graphs/contributors"> <img src="https://contrib.rocks/image?repo=mishalhossin/Discord-AI-Chatbot" /> </a>Crafted with Care: Made with lots of love and attention to detail. ❤️
Related Skills
gortex
1.1kHigh-performance code-intelligence engine for AI agents and IDE, supports 257 languages, multi repositories, based on graph, with access via CLI, MCP Server, and API. AI coding agents teammate - expose only needed information, cutting token usage up to 50x. 100% local.
techrogue
TechRogue – Roguelike technical quiz for engineers. Usage: /techrogue | /techrogue build | /techrogue settings
cc-switch
125.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
cc-switch
125.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
