Table of Contents

Class DiscordRoleSelectComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll
public sealed class DiscordRoleSelectComponent : BaseDiscordSelectComponent
Inheritance
DiscordRoleSelectComponent
Inherited Members

Constructors

DiscordRoleSelectComponent(string, string, bool, int, int)

Creates a new role select component.

Properties

DefaultValues

The default values for this component.

Methods

AddDefaultRole(DiscordRole)

Adds a default role to this component.

AddDefaultRole(ulong)

Adds a default role to this component.

AddDefaultRoles(IEnumerable<DiscordRole>)

Adds a collections of DiscordRoles to this component.

AddDefaultRoles(IEnumerable<ulong>)

Collections of role ids to add as default values.

Disable()

Disables this component.

Enable()

Enables this component.