Information: Minecraft Server: I started working on my old Minecraft server called Terona. Join our discord if you want :D Join

Install Kori

Create the Discord application, run the one-command installer and invite Kori to your server.

KoriChecked

On this page

You need a machine with Docker, Docker Compose v2 and git. The install takes a few minutes. Most of it is the Discord setup.

1. Create the Discord application#

  1. Open the Discord Developer Portal and create an application.
  2. On the General Information page, copy the Application ID. The installer asks for it. It is optional, but with it the installer prints your invite link.
  3. Open Bot and click Reset Token. Copy the token and keep it private.
  4. On the same page, turn on Message Content Intent. Kori uses it only to read a ticket's messages when she saves its transcript.

The token gives full control of the bot. Never post it or commit it. If it leaks, reset it in the Developer Portal right away.

2. Run the installer#

Linux, macOS or WSL#

bash
curl -fsSL https://raw.githubusercontent.com/darkzmaj/Kori-Discord-Bot/main/install.sh | bash

Windows#

Run this in PowerShell. Docker Desktop and git must be installed.

powershell
irm https://raw.githubusercontent.com/darkzmaj/Kori-Discord-Bot/main/install.ps1 | iex

What the installer asks#

The first time, the installer asks two questions.

PromptDefaultAccepted
Discord bot tokennoneThe token from step 1. Typing is hidden.
Application IDemptyThe numeric ID (17 to 20 digits), or empty

Then the installer:

  1. Downloads Kori into ~/kori. Set KORI_DIR first to use another folder.
  2. Saves your answers to .env in that folder, readable only by you.
  3. Pulls the prebuilt image (ghcr.io/darkzmaj/kori, for linux/amd64 and linux/arm64). If there is none for your platform, it builds the image locally. The first build takes several minutes.
  4. Starts Kori and prints the commands for logs, updates and stopping.

If you run the installer from inside a Kori checkout, it uses that folder instead. Log channels for the bot owner are optional and set in .env afterwards; see Configure Kori.

3. Invite Kori#

If you gave an Application ID, the installer prints an invite link at the end. Otherwise build it yourself, with your Application ID in place of APPLICATION_ID:

text
https://discord.com/oauth2/authorize?client_id=APPLICATION_ID&scope=bot+applications.commands&permissions=139855252560

Open the link, choose your server and confirm. Both scopes are needed: applications.commands makes the slash commands appear. What each permission is for is in Commands and permissions.

4. Set up tickets#

Run /ticket in your server as an administrator and follow Set up tickets.

Other ways to run Kori#

  • Docker Compose by hand. Clone the repository, copy .env.example to .env, set DISCORD_TOKEN, then run docker compose up -d.
  • Coolify. Create a resource from the repository with Docker Compose as the build pack and set DISCORD_TOKEN (and any optional variables) under Environment Variables. Do not set DATABASE_PATH. There is no port to expose.
  • From source. Install Rust 1.85 or newer and Ruby 3.1 or newer with Bundler, run bundle install, copy .env.example to .env, then rake start for a release build or rake dev for development.

Source: Kori v1.0.0 install.sh, install.ps1, docker-compose.yml and README.md, checked 8 November 2026.

Your likes

Only what this browser did. Your data on this device