Table of Contents

Method AddContainerComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddContainerComponent(DiscordContainerComponent)

Adds a container component to this builder.

public T AddContainerComponent(DiscordContainerComponent component)

Parameters

component DiscordContainerComponent

The component to add.

Returns

T

The builder to chain calls with.

Exceptions

InvalidOperationException

Thrown if there is insufficient slots to support the component.