Skip to main content

Discord bot

Create custom Discord Slash commands and emoji reactions.
Chat with in-game players directly from Discord, manage your servers, and more.

Go to Discord bot settings >

Slash commandsโ€‹

With slash commands you can execute actions on your dashboard without leaving Discord. You can customize the commands to fit your needs.

If you used GSA's task / delivery system already, then Slash commands system will feel familiar.

Command typesโ€‹

The examples below are just a few examples of what you can do with Slash commands. You can create your own commands and customize them to fit your needs.

Genericโ€‹

As the name suggests, this command type can be used for generic commands. What is a generic command? It's a command that doesn't have any specific target.
For example, /help, /servers or /onlineplayers.

Discord user (targets invoker)โ€‹

This command type targets the invoker of the command, meaning the person that used the command on Discord.
For example, /claim, /kickme, /verify, /connect or /balance.

Playerโ€‹

Player commands target a specific player. This can be a Discord user or a player from your dashboard.
For example, /kick, /ban, /sendtokens, /dm or /mute.

info

These commands always require you to specify a player and can only be used by Additional admins.

Characterโ€‹

Character commands target a specific character from your dashboard.
For example, /levelup, /setname or /exp.

info

These commands always require you to specify a character and can only be used by Additional admins.

Game serverโ€‹

Game server commands target a specific game server, a cluster, or all game servers.
For example, /restart, /backup or /rcon.

info

These commands always require you to specify a game server and can only be used by Additional admins.

Create a commandโ€‹

You can create a new command or download commands from the marketplace and edit them to your needs.

Browse the marketplace

Find inspiration or get started with Slash commands using the Discord Marketplace >

Click + Add command to create a new command.

Discord bot - Create slash command 1

Select the command type and enter a name for your command.

Discord bot - Create slash command 2

Add actions to your command, enter a description, and enable the command.

Discord bot - Create slash command 3

On this example we've added the Discord update interaction action. This action will replace the default Discord interaction message with a custom one. We also enabled Ephemeral so the message will only be visible to the user who invoked the command.

Discord bot - Create slash command 4

Actionsโ€‹

Certain actions will automatically add arguments to your command.
For example, when using the In-game command action, it will add the rcon_command argument to your command.

Learn more about all available actions >

Discord bot - Argument example 1.1

Which translates to this command:

Discord bot - Argument example 1.2

Settingsโ€‹

Enable commandโ€‹

Only enabled commands will be available on Discord.

Command nameโ€‹

The name of the command that will be used on Discord.

Discord bot - Command setting - command

Descriptionโ€‹

A brief description of the command that will be displayed on Discord.

Discord bot - Command setting - command

Ephemeral responseโ€‹

When enabled, the response to the command will be hidden from other users.

Discord bot - Create slash command 4

Emoji reactionsโ€‹

Emoji reactions can be useful for quick actions like rewarding players. Each emoji reaction comes with actions that run when you add an emoji to a message, and separate actions for when you remove an emoji from a message.

If you used GSA's task / delivery system already, then the emoji reactions system will feel familiar.

Create an emoji reactionโ€‹

You can create a new emoji reaction or download them from the marketplace and edit to your needs.

Browse the marketplace

Find inspiration or get started with emoji reaction using the Discord Marketplace >

Click + Add reaction to create a new emoji reaction.

Discord bot - Create emoji reaction 1

Select the emoji you want to use.
You can use any emoji from the Discord emoji list as well as any custom emoji you've uploaded to your Discord server.

Discord bot - Create emoji reaction 2

Add actions to your emoji reaction, select which roles can use it, and enable it.

warning

After enabling an emoji reaction, it may take a few minutes before the bot will process it. Please be patient.

Discord bot - Create emoji reaction 3

On this example we've used the Send tokens action. When adding the selected emoji to a message, the bot will send 10 tokens to author of the message. Removing the emoji will remove the tokens again (assuming you set up the -10 tokens action on Remove reaction).

Discord bot - Create emoji reaction 4

Settingsโ€‹

Enable reactionโ€‹

Only enabled reactions will be available on Discord.

Rolesโ€‹

Select which roles can use this reaction. If no roles are selected, everyone will be able to use the emoji reaction.

Channelsโ€‹

Discord + Cluster chatโ€‹

Chat directly with in-game players from Discord. Supported in all games that support Cluster chat.

Discord bot - Cluster chat + Discord

Go to the Discord page and assign a channel to the Discord + Cluster chat setting.

info

It may take a few minutes for chat to activate after saving your channel. Please be patient.

Discord bot - Enable Cluster chat + Discord

Player join / leaveโ€‹

Get real-time join/leave notifications in Discord when players enter or exit a game server.

Discord bot - Player join / leave

Set up the Player join & leave channel on the Discord page.

Discord bot - Player join / leave

Game server status cardโ€‹

Display a real-time server status card that updates on events like restarts or updates.

Discord bot - Game server status card

Assign a channel for the Game server status card on the Discord page.

Discord bot - Player join / leave

Game server status logโ€‹

Track detailed server events such as startup, shutdown, or mod updates in Discord.

Discord bot - Game server status log

Assign a channel for the Game server status log on the Discord page.

Discord bot - Player join / leave

Historyโ€‹

Settingsโ€‹

Generalโ€‹

Report admin commandsโ€‹

Select a channel to send admin commands to. Admin commands used in-game are logged in this channel.

Discord bot - Settings - Report admin commands

Send in-game broadcasts to Discordโ€‹

Decide whether in-game broadcasts should be sent to Discord too.

Discord bot - Settings - Broadcast to discord

Avoiding broadcast spamโ€‹

Reduce the number of broadcasts sent to Discord. This feature is useful when you send broadcasts to multiple game servers. Only one broadcast will be sent to Discord, avoiding spam.

Discord bot - Settings - anti broadcast spam

Status block vote sitesโ€‹

This setting will add the configured vote sites to the status card for each game server.

Discord bot - Settings - Status card vote sites

Rolesโ€‹

Control which roles can be controlled on the dashboard. Only roles that you enabled can be used on tasks, deliveries, etc. It's recommended to leave roles with administrator & moderator permissions disabled.

Discord bot - Settings - roles

Set up the botโ€‹

Connect bot to your dashboardโ€‹

To get started, you need to connect the bot to your Discord server.

1. Connect Discordโ€‹

Go to the Discord page and click Connect your Discord.

Discord bot - Connect discord 1

2. Select Discord serverโ€‹

Choose the Discord server where the bot should be installed and click Continue.

Discord bot - Connect discord 2

3. Confirm permissionsโ€‹

Keep all requested permissions enabled, the bot needs them to function properly. Click Authorize.

Discord bot - Connect discord 3

4. Done!โ€‹

Discord bot - Connect discord 4

Group log setupโ€‹

Allow players to view group logs in a private Discord server to stay informed about in-game activity even when offline.

1. Log in on Community websiteโ€‹

Group logs must be enabled by a group admin on the Community site.

Discord bot - Group log setup 1

Go to Group settings.

Discord bot - Group log setup 2

2. Connect group Discordโ€‹

On the settings page, click Connect Discord to invite the bot to your group's private server.

Discord bot - Group log setup 3

Select the server where you want group logs to be posted.

Discord bot - Group log setup 4

Keep all listed permissions enabled, then click Authorize.

Discord bot - Group log setup 5

3. Select Discord channelโ€‹

Choose the channel where group logs should be posted.

Discord bot - Group log setup 6

4. Done!โ€‹

Group logs will now automatically appear in the selected Discord channel. It may take up to 10 minutes for new logs to show up.

Discord bot - Group log setup 7

Troubleshootingโ€‹

The bot isn't posting messagesโ€‹

If you've just added the bot, please give it a few minutes.

Ensure the bot has the correct permissions to post in your channels. Check the bot's role settings and make sure it can send messages.