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

Configure Kori

Every setting in .env for the bot owner, and where each server's settings live.

KoriChecked

On this page

Kori has two kinds of settings:

  • Per server, set by each server's administrators in /ticket: category, staff roles, ticket types, the panel, the welcome message and log channels. See Set up tickets.
  • Per bot, set by you as the bot owner in .env in the install folder (~/kori by default).

After editing .env, re-run the installer or run docker compose up -d in the install folder.

.env settings#

VariableRequiredDefaultPurpose
DISCORD_TOKENyesnoneThe bot token.
APPLICATION_IDnoemptySafety check that the token belongs to this application. The installer also uses it for the invite link.
DATABASE_PATHno./data/kori.sqliteThe SQLite file. Ignored in Docker, which always uses /app/data/kori.sqlite.
LOG_WEBHOOK_URL, LOG_GUILD_ID, LOG_CHANNEL_IDnoemptyThe owner's log: bot health for every server, plus ticket activity from your own server.
TRANSCRIPT_WEBHOOK_URL, TRANSCRIPT_GUILD_ID, TRANSCRIPT_CHANNEL_IDnoemptyThe owner's transcript log: transcripts from your own server.
DIAGNOSTIC_GUILD_ID, DIAGNOSTIC_USER_IDnoemptyExtra detail for rake commands:inspect.

Each log needs all three of its values, or none. Kori checks the configuration at startup. If something is wrong, such as a missing token or a log with only some of its values, she stops with a clear message.

The owner's webhooks#

These are optional and only for you as the person running the bot. Other servers' activity and transcripts never reach them.

  • Owner's log (LOG_*): Kori started, shutting down, startup failed, joined or left a server, for every server. Also ticket activity from LOG_GUILD_ID, when that server has no log channel of its own in /ticket.
  • Owner's transcript log (TRANSCRIPT_*): transcripts from TRANSCRIPT_GUILD_ID, when that server has no transcript channel of its own.

Create each webhook in its channel (Channel Settings → Integrations → Webhooks), paste its URL, and fill in the server and channel IDs. Use different channels for the two logs. Before sending anything, Kori checks that each webhook belongs to the server and channel you gave. If it does not, that log stays off.

Webhook URLs are secrets, like the token. Kori never writes them to her own logs. Keep .env out of git.

Docker limits#

The Docker setup runs Kori as a non-root user with a read-only file system, all capabilities dropped and no-new-privileges. She is limited to one CPU and 512 MB of memory, and her data lives in the kori-data volume. She opens no ports: she only connects out to Discord.

Process logs#

Kori writes structured JSON logs to stdout and leaves secrets out of them. Read them with docker compose logs -f in the install folder.

Source: Kori v1.0.0 .env.example, docker-compose.yml, src/config.rs and README.md, checked 8 November 2026.

Your likes

Only what this browser did. Your data on this device