Method AddSectionComponent
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
AddSectionComponent(DiscordSectionComponent)
Adds a section component to the builder.
public T AddSectionComponent(DiscordSectionComponent section)
Parameters
section
DiscordSectionComponent
Returns
- T
The builder to chain calls with.
Exceptions
- InvalidOperationException
Thrown if there is insufficient slots to support the component.