Commands

Interact with your server from Discord

Overview

Ever wanted to run a command against your server, but don't have the game loaded up? Well, now you can create custom commands that can be run directly from your Discord client!

A quick showcase of commands

Configuration

Enable Commands

Controls whether or not the command client should be enabled.

Command Prefix

A prefix that when included in a Discord message, will treat the request as a command.

Help Menu

By defining a help word, a command will be automatically registered that sends a direct message containing all available commands and their usage.

Example help menu

Admins

A command administrator will skip all permission checks, hence, having access to all commands.

Finding a Discord user identifer

Messages

There are some instances where feedback is provided. In these cases, the following messages may be sent.

Command

There are two types of commands, built-in and custom. Both share a common set of base command options, as defined below.

Built-InCustom

Enabled

Controls whether or not the command should be registered.

Name

A trigger keyword that comes directly after the message prefix, to use the command.

Aliases

Alternative trigger keywords in addition to the above name.

Help

A description of what the command does - this is used in the help menu.

Usage

Details the correct usage of the command - this is used in the help menu.

Hidden

Controls whether this command should be visible in the help menu.

Role

If defined, restricts access to Discord users who have the specified role.

Cooldown

Specifies how often the command may be used, in seconds. A cooldown can be scoped accordingly.

Scope

Meaning

USER

Per-user, across all locations, e.g. text/private channels, guild, etc.

CHANNEL

Per-channel that the command was called in

USER_CHANNEL

Per-user, per-channel that the command was called in

GUILD

All users, per-guild, e.g. an entire Discord server

USER_GUILD

Per-guild, per-user, e.g. John Doe in server A and John Doe in server B

GLOBAL

Global, every server, channel and user, e.g. if stopping the server, only ever call once

Last updated

Was this helpful?