Name | <DiscordButtonTag.with[<key>].as[<value>]> |
Returns | DiscordButtonTag |
Description | Returns a copy of this Button tag, with the specified data key set to the specified value.
The following keys are accepted, with values of the listed type: style: ElementTag of either primary, secondary, success, danger, or link id: ElementTag, can be a URL label: ElementTag disabled: ElementTag(Boolean) emoji: ElementTag |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordButtonTag.java#L132 |