Table of Contents

Method AddSelectMenu

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddSelectMenu(BaseDiscordSelectComponent, string, string?)

Adds a select input to this modal.

public DiscordModalBuilder AddSelectMenu(BaseDiscordSelectComponent select, string label, string? description = null)

Parameters

select BaseDiscordSelectComponent

The select menu to add to this modal

label string

A label text shown above the select menu.

description string

An optional description for the menu.

Returns

DiscordModalBuilder

The builder instance for chaining.