Table of Contents

Enum ButtonStyle

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents different styles to use with buttons. You can see an example of the different styles at https://discord.com/developers/docs/interactions/message-components#buttons-button-styles

public enum ButtonStyle

Fields

Danger = 4

A Red button.

A Secondary button with a little popup box indicating that this button is a link.

Premium = 6

A gradient button, opens a product's details modal.

Primary = 1

A Blurple button.

Secondary = 2

A Grey (or gray) button.

Success = 3

A Green button.