Table of Contents

Method AddSeparatorComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddSeparatorComponent(DiscordSeparatorComponent)

Adds a separator component to this builder.

public T AddSeparatorComponent(DiscordSeparatorComponent component)

Parameters

component DiscordSeparatorComponent

The component to add.

Returns

T

The builder to chain calls with.

Exceptions

InvalidOperationException

Thrown if there is insufficient slots to support the component.