Skip to content

Setup Red-DiscordBot

Creates the tinkerer instance config and runs a dry-run to validate authentication before other Red-DiscordBot steps.

Inputs

Input Required Default Description
token Token passed to redbot tinkerer --token; required so the dry-run can authenticate against the Discord API.
prefix ! Command prefix supplied to the dry-run invocation; defaults to '!'.
optional_args Additional CLI switches appended to the dry-run command (for example --log-level debug); blank by default.

Usage

Note

This creates a redbot configuration for the instance "tinkerer".

Provision a Red-DiscordBot instance (ben-cogs/.github/workflows/check-cogs.yml):

- name: Configure Red-DiscordBot
  uses: nntin/d-flows/actions/setup-red-discordbot@v1
  with:
    token: ${{ secrets.DISCORD_BOT_TOKEN }}
    optional_args: "--no-cogs"