Skip to Content
MinexonMinexon

Discord Bot

Manage credentials, account access, role rules, and direct message templates.

Menu path Admin Dashboard → Settings → Discord Bot

For a new Discord application and the first delivery check, follow the Discord Bot setup guide.

Settings

SectionField or actionEffect
Discord BotMain on/off switchControls account linking, Discord sign-in and registration, and delivery of roles and messages. Turning it off preserves saved configuration.
Account accessSign in with Discord and Create an account with DiscordControls the sign-in and registration choices separately. Linking from a player profile also requires the Linked accounts module.
Bot credentialsBot Token, Client Secret, Client ID, and Server IDAll four values are required to enable the bot. The token and secret are stored encrypted. Leave the two secret fields blank on later edits to keep the saved values.
Bot credentialsOAuth2 redirect URL and Add Bot to Your ServerCopy the redirect URL into the Discord application. The invite opens Discord with the configured application and server IDs.
Roles and nicknamesLink role, nickname sync, top-up, store, forum, and marketplace rolesEach rule has its own switch. Store purchases use the role ID on the corresponding product. Enter the other role IDs in this section.
Message notificationsEvent switches, group counter, and Edit templateEach event’s DM is enabled separately. Save the event switch before opening its template. Events and recipients

New events use the saved settings. At delivery, the job checks whether the relevant switch is still on. Scheduled tasks

Messages

Search filters the template list by name. A dot marks each enabled event. Selecting an event shows whether it uses a default or custom template. Load example replaces the editor contents with that event’s default example. Save to apply it. Use Editor for visual editing or JSON to edit the same message payload.

Placeholders lists the values available to the selected event. Click a token to insert it into the field you last used. The Password reset template requires %reset_url%. Email verification and Email address change DMs are informational. The verification code is sent by email.

Verify changes with a test account

  1. Save the settings. Test the enabled sign-in or registration flow while signed out. For profile linking, use a test player who has already joined your Discord server.
  2. To verify roles and messages, enable the account-link role rule and Discord account linked notification before linking. After the Notifications job runs, check the test member’s role and DM inbox. Scheduled tasks
  3. If linking works and the role is missing, check the server ID, role ID, bot role hierarchy, and player’s server membership. If the role arrives and the DM is missing, check the saved event switch and the player’s Discord Message Requests. Verify the first connection

Dashboard permissions

PermissionAccess
settings.discord_botOpen the Discord Bot page
settings.bot.configurationView and save the Settings tab
settings.bot.templatesView the Messages tab and save templates
settings.bot.uploadUpload images in the template editor. Also requires the template permission.

Tab permissions apply together with the page access permission.