Command options are added to the /dlobby create command to give server members more ways to provide detail when they create a lobby. These options are used by DLobby to fill in the lobby's opening message.

When creating a command option you (Discord server admin) provide:

  • a name,
  • a short description,
  • a flag determining if this command option is required, and
  • a list of possible choices for some command option kinds (more on these below)

Command options may be deleted.

Existing command options may be edited, but names are immutable. In order to change the name, the command option must be deleted and recreated.

A maximum of 25 command options may be used per Discord server.


Command option kinds #

Command options are categorized into 4 kinds. They each operate slightly different from one another.

Text #

The text kind command option may be a freeform text field or a list of predetermined text options from which the server member selects.

Text kind command options that choose to provide a list of choices are limited to a maximum of 25 choices.

Examples:

  • Set a match style for fighting game lobbies: "casual", "serious", or "training"
  • Create a command option for server members to know which gaming platform is being used ("playstation", "xbox", "pc", etc)
  • The "lobby-title" command option that every Discord server is assigned is a text kind command option

Role #

The role kind command option is for Discord roles. Set a predetermined list of roles from which the server member selects.

Roles must be mentionable to be selected.

Role kind command options are limited to a maximum of 25 choices.

Example:

  • In fighting game Discords it is common for there to be a mentionable role per game series. Create a role kind command option so that this role gets pinged whenever a user opens a lobby mentioning said role.

Channel #

The channel kind command option is for Discord channels. Set a predetermined list of channels from which the server member selects.

Selectable channel types are:

  • text
  • voice
  • announcement
  • stage
  • forum

Channel kind command options are limited to a maximum of 25 choices.

Example:

  • Create a command option for server members to point to a voice channel they are using for games

Boolean #

The boolean kind command option is a "true or false" option. Think if it like asking a "yes"/"no" question to the server member creating a channel.

Boolean kind command options do not have choices.

Example:

  • Create a command option to ask your server members if they are fancy

Please let us know if you have discovered an error on this page, or have an edit suggestion.