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<DiscordButtonTag.with[<key>].as[<value>]>
ReturnsDiscordButtonTag
DescriptionReturns 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
RequiresdDiscordBot
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordButtonTag.java#L132