Name | <DiscordSelectionTag.with[<key>].as[<value>]> |
Returns | DiscordSelectionTag |
Description | Returns 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 |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordSelectionTag.java#L183 |