Table of Contents

Method AddSectionComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddSectionComponent(DiscordSectionComponent)

Adds a section component to the builder.

IDiscordMessageBuilder AddSectionComponent(DiscordSectionComponent section)

Parameters

section DiscordSectionComponent

Returns

IDiscordMessageBuilder

The builder to chain calls with.

Exceptions

InvalidOperationException

Thrown if there is insufficient slots to support the component.