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

Install Gaia

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

GaiaChecked

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.

Animation of installing Gaia: create an application in the Discord Developer Portal, copy the Application ID from General Information, open Bot and click Reset Token, turn on Server Members Intent on the same page, then run the one-command installer, which downloads Gaia into ~/gaia-discord-bot, asks for the bot token, Application ID, timezone and daily backup hour, saves the settings to .env, fetches the Gaia image and reports that Gaia is running

Illustration generated with AI and checked by Maj Kovačič.

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 Server Members Intent.

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/Gaia-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/Gaia-Discord-Bot/main/install.ps1 | iex

What the installer asks#

The first time, the installer asks four questions. Press Enter to keep the value in brackets.

PromptDefaultAccepted
Discord bot tokennoneThe token from step 1. Typing is hidden.
Application IDemptyThe numeric ID, or empty
Timezone for schedules and backupsEurope/LjubljanaAn IANA name such as Europe/Berlin
Daily automatic backup hour (0-23)3A whole number from 0 to 23

Then the installer:

  1. Downloads Gaia into ~/gaia-discord-bot. Set GAIA_DIR first to use another folder.
  2. Saves your answers to .env in that folder, readable only by you.
  3. Pulls the prebuilt image for your platform. If there is none, it builds the image locally. The first build takes several minutes.
  4. Starts Gaia and prints the commands for logs, updates and stopping.

If you run the installer from inside a Gaia checkout, it uses that folder instead.

3. Invite Gaia#

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=2435902483

Open the link, choose your server and confirm. Both scopes are needed: applications.commands makes the slash commands appear.

Permissions#

The number 2435902483 asks for these permissions:

PermissionUsed for
View Channels, Send Messages, Embed Links, Attach Files, Use Application CommandsReplies, panels and embeds
Manage RolesAutoRole and verification
Manage ChannelsVoice rooms and mutes
Move Members, Connect, SpeakVoice rooms
Kick Members, Manage Messages, Create InviteThe verification channel trap and its rejoin invite

Use 2436033587 instead to also grant Manage Server and Mention Everyone. You need them to restore backups onto a server and to send embeds that ping @everyone or @here.

Gaia never needs Administrator.

Intents#

Gaia connects with the Guilds, Server Members, Voice States and Guild Messages intents. Only Server Members Intent must be turned on in the Developer Portal. Gaia does not use the Message Content intent.

4. Check that it works#

  1. In your server, type /admin.
  2. The first time, Gaia shows Logging Setup. Only the server owner can answer it. See Logs.
  3. After that, /admin opens the Gaia Administration dashboard, visible only to you. It shows Gaia as online with its uptime.

Only members with the Discord Administrator permission can open /admin. If the commands do not appear, see Troubleshooting.

Without the installer#

The installer only wraps Docker Compose. You can also:

  • Clone the repository, copy .env.example to .env, set DISCORD_TOKEN and run docker compose up -d.
  • Deploy with Coolify: create a resource from the repository with the Docker Compose build pack and set the variables under its environment variables. Do not set DATABASE_PATH, and leave the domain and port settings empty.
  • Run from source with Rust 1.85 or later and Ruby 3.1 or later. See the README.

Next, read Configuration.

Source: Gaia v2.0.0 README, install.sh, install.ps1, docker-compose.yml and src/bot.rs, checked 9 November 2026.

Your likes

Only what this browser did. Your data on this device