Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2425 tags...
Name<DiscordSelectionTag.with[<key>].as[<value>]>
ReturnsDiscordSelectionTag
DescriptionReturns a copy of this Selection tag, with the specified data key set to the specified value.
The following keys are accepted, with values of the listed type:
id: ElementTag
placeholder: ElementTag
options: MapTag where the values are also a MapTag consisting of:
- label: ElementTag
- value: ElementTag
- description: ElementTag
- emoji: ElementTag
RequiresdDiscordBot
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordSelectionTag.java#L183