Skip to main content

config.yml

language: en
debug: false
startup-banner:
mode: FULL
colors: true
discord:
enabled: true
token-source: ENV
token-env-name: COREDSC_BOT_TOKEN
guild-id: 0
command-registration: guild
link-role-id: ''
unlink-remove-role: true

startup-banner.mode

  • FULL — bordered startup banner
  • COMPACT — short version/status line
  • OFF — no banner

discord.token-source

  • ENV reads the environment variable named by token-env-name.
  • SECRETS.YML reads discord-token from secrets.yml.

discord.guild-id

Set the numeric Discord guild ID. If CoreDSC cannot find that guild, guild command registration stops. This prevents commands from being registered in the wrong scope.

discord.command-registration

  • guild is recommended while configuring and testing.
  • global publishes global application commands and may take longer to propagate.

link-role-id is optionally assigned after linking. When unlink-remove-role is true, CoreDSC removes the role during unlinking.

Download the exact default file.