
LLM-Bot is a Discord bot built with discord.js that brings LLMs directly into your server. It can connect to multiple AI backends including OpenAI, Ollama, and Llama.cpp allowing you to chat with and query different models seamlessly.
When mentioned in a chat, LLM-Bot listens, processes your question, and replies using the selected LLM API. Its designed to be modular, easy to configure, and perfect for integrating AI-powered assistants into your Discord community.
Moderator Commands:
- /help โ Displays this message
- /prompt set โ Set the current personality
- /prompt get โ Get the current personality
- /model set โ Set the current model
- /model get โ Get the current model
- /api url โ Change the current API URL
- /api key โ Change the current API Key
- /thinking โ Toggle display of LLM thinking sections
- /debug - Toggle verbose log messages
- /reset - Restart the bot and revert to default settings
Note
All of these configuration options above can & need to be defined in .env . By default these commands require the "ModerateMembers" permission as a saftey measure, this can however be overwritten in the integrations tab of your guild.
- Clone the repository:
git https://github.com/Justus0405/LLM-Bot.git
- Navigate to the directory:
cd LLM-Bot
- Create a .env file from .env.example:
nano .env
- Build an run with docker:
docker-compose up -d --build
docker
docker-compose
docker-buildx
Copyright ยฉ 2025-present Justus0405