Skip to content

DiscordButton

  • LitElement

new DiscordButton(): DiscordButton

DiscordButton

LitElement.constructor

Whether to show the button as disabled.


The emoji URL to use in the button.


The name of the emoji used in the button.


An id of a modal that should be opened when this button is clicked. This should match the modal-id of a discord-modal element.


The type of button this is, this will change the color of the button. Valid values: primary, secondary, success, destructive.


The URL for the button. Setting this will force the button type to be secondary.

checkParentElement(): void

void


checkType(): void

void