TextOption

annotation class TextOption(val name: String = "", val example: String = "")(source)

Sets a parameter as a text command option from the Discord message.

This also can set name and example of text commands parameters.

See also

@Optional

@Nullable

@ID

Properties

Link copied to clipboard

The example input of this option displayed on the help content.

Link copied to clipboard

The name of this option displayed on the help content.