DiSky DiSky v5.0.0-b1

Slash Command

type

A '/name' command with a description and, either, options or subcommands (grouped or not). Build one, fill it with the properties, then push it with 'update the discord commands' or 'register the discord command'. Use 'on slash command' to answer it, or declare it with the 'slash command' structure so its trigger runs on its own.

6 syntaxesextends Application Commandnet.itsthesky.disky5.api.commands.application.SlashCommandHolder
6 / 6

Properties

5
propertyText
[the] description of %slashcommand%
%slashcommand%'s description
change modes set
Helpful?
propertylist of Textsince 5.0.0-a2
[the] description localizations of %slashcommand%
%slashcommand%'s description localizations

The translated descriptions, as "locale: text" lines. Set them with 'localize the description of ...'.

Helpful?
propertylist of Slash Optionsince 5.0.0-a2
[the] options of %slashcommand%
%slashcommand%'s options

The options (arguments) of a slash command or a subcommand, in order.

A command with subcommands cannot have options of its own.

change modes setaddremovedelete
mentioned inCommand builders
Helpful?
propertylist of Subcommandsince 5.0.0-a2
[the] subcommands of %slashcommand%
%slashcommand%'s subcommands

The subcommands ('/root sub') directly under a slash command or under a subcommand group.

change modes setaddremovedelete
mentioned inCommand builders
Helpful?
propertylist of Subcommand Groupsince 5.0.0-a2
[the] subcommand groups of %slashcommand%
%slashcommand%'s subcommand groups

The subcommand groups ('/root group sub') of a slash command.

change modes setaddremovedelete
mentioned inCommand builders
Helpful?

Expressions

1

Returned by

1

Syntaxes elsewhere in DiSky that return Slash Command.

Documentation

2

Hand-written guides that cover Slash Command.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.