Kruiger Labs
Client Portal Get Started
DocumentationLEO TOOLKIT
Sign inGet support
LEO TOOLKIT

LEO TOOLKIT Environment Configuration

Configure every Discord client environment variable and protected backend connection.

View LEO TOOLKIT Product

Environment variables#

SettingWhat to enterWhat it controls
TOOLBOX_DISCORD_BOT_TOKENYOUR_BOT_TOKENPrivate Discord token.
TOOLBOX_DISCORD_CLIENT_IDYOUR_APPLICATION_IDDiscord application ID.
BOT_OWNER_IDSYOUR_USER_ID,YOUR_SECOND_USER_IDComma-separated numeric owner IDs.
TOOLBOX_API_BASE_URLhttps://YOUR_BACKEND_DOMAINInternet-reachable companion backend base URL.
TOOLBOX_BOT_API_SECRETYOUR_API_SECRETShared bot-to-backend secret; must be identical on both sides and must not be the Discord token.
TOOLBOX_SYNC_GUILD_IDYOUR_GUILD_ID or blankGuild-specific command sync during setup; blank uses global synchronization.
TOOLBOX_LOG_LEVELINFOApplication logging level.
TOOLBOX_HTTP_TIMEOUTA reasonable number of secondsMaximum wait for backend HTTP requests.

Discord permissions and hierarchy#

Recommended permissions are View Channels, Send Messages, Embed Links, Manage Roles, and Manage Nicknames. Enable Server Members Intent.

Back to top