Skip to content

Justus0405/LLM-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Banner

About

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.

Commands

Moderator Commands:

  1. /help โ€” Displays this message
  2. /prompt set โ€” Set the current personality
  3. /prompt get โ€” Get the current personality
  4. /model set โ€” Set the current model
  5. /model get โ€” Get the current model
  6. /api url โ€” Change the current API URL
  7. /api key โ€” Change the current API Key
  8. /thinking โ€” Toggle display of LLM thinking sections
  9. /debug - Toggle verbose log messages
  10. /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.

Installation

  1. Clone the repository:
git https://github.com/Justus0405/LLM-Bot.git
  1. Navigate to the directory:
cd LLM-Bot
  1. Create a .env file from .env.example:
nano .env
  1. Build an run with docker:
docker-compose up -d --build

Run Dependencies

docker
docker-compose
docker-buildx

Copyright ยฉ 2025-present Justus0405