Skip to main content

Servers Commands

Server commands are used by our Store Option and they are ideal if you want to give/remove roles or remove bans in your Discord server when a product is purchased.

Server Integration

Before you start using these commands, ensure you have followed all steps from How to Connect Your Discord Server. If you have not connected your Discord server, you won't be able to create new Discord commands.

How to Create a Discord Command

  1. Navigate to the GameCMS Dashboard
  2. Go to Integrations > Discord
  3. Select Commands from the menu
  4. Click the button New command

Options

  1. Name: The name of the command for your reference.
  2. Command Option:
    • Add Role
    • Remove Role
    • Unban
  3. Server: Select the server where the command will be executed.
  4. Role Selection: If you have selected Add Role or Remove Role, a new field will be shown to select the role.
GameCMS BOT Position

Ensure that our bot has a role that is above the one you want to give/remove. Discord will not allow our bot to remove or add roles that are higher than any of the roles that the bot has.

Store Option

For your Store Products, you can select Discord commands that will be executed every 1-10 minutes once the user finishes the payment.

To set a command for your product(s):

  1. Navigate to the GameCMS Dashboard
  2. Go to Store
  3. Select Products from the menu
  4. Create or edit the product you want.
  5. Click on the tab Commands
  6. Select the commands you want in the Discord commands select menu.
  7. Save.
Discord OAuth2 Integration

To use this feature, you must set up your Discord OAuth2 Integration.

info

If any of your products have Discord commands, your users will be required to confirm their profile from the user settings page.