Table of Contents

Method AddContainerComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddContainerComponent(DiscordContainerComponent)

Adds a container component to this builder.

IDiscordMessageBuilder AddContainerComponent(DiscordContainerComponent component)

Parameters

component DiscordContainerComponent

The component to add.

Returns

IDiscordMessageBuilder

The builder to chain calls with.

Exceptions

InvalidOperationException

Thrown if there is insufficient slots to support the component.