Method AddSeparatorComponent
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
AddSeparatorComponent(DiscordSeparatorComponent)
Adds a separator component to this builder.
IDiscordMessageBuilder AddSeparatorComponent(DiscordSeparatorComponent component)
Parameters
component
DiscordSeparatorComponentThe component to add.
Returns
- IDiscordMessageBuilder
The builder to chain calls with.
Exceptions
- InvalidOperationException
Thrown if there is insufficient slots to support the component.