Table of Contents

Class DiscordRoleSelectComponent

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

A select menu with multiple options to choose from.

public sealed class DiscordRoleSelectComponent : DiscordBaseSelectComponent
Inheritance
DiscordRoleSelectComponent
Inherited Members

Constructors

DiscordRoleSelectComponent()

Constructs a new DiscordRoleSelectComponent.

DiscordRoleSelectComponent(string, string, int, int, bool, IEnumerable<DiscordSelectDefaultValue>?)

Constructs a new DiscordRoleSelectComponent.

DiscordRoleSelectComponent(string, string, string, int, int, bool, IEnumerable<DiscordSelectDefaultValue>?)

Constructs a new DiscordRoleSelectComponent for modals.

Methods

Disable()

Disables this component.

Enable()

Enables this component if it was disabled before.