Skip to main content

Configure Discord

Use this flow after local health checks or a Coolify deploy pass.

Environment

Set Discord off until /healthz and /readyz pass.
When the service is healthy, set the bot token and application client ID, then enable Discord.
Use a test guild while changing slash commands.
Leaving GIGI_DISCORD_GUILD_ID blank targets global application commands.

Bot role permissions

Gigi can answer commands without Manage Roles, but role create, assign, and unassign need Discord server role authority. Give Gigi’s bot role:
  • Manage Roles
  • a role position above any role Gigi should create, assign, remove, or manage
Channel admin status is not enough. Discord checks server role permissions and hierarchy.

Smoke tests

Run these after Discord starts:
If role creation fails with a role hierarchy error, move Gigi’s bot role higher in Discord server settings.

Next steps