Method AddSelectComponents
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
AddSelectComponents(params DiscordBaseSelectComponent[])
Appends a collection of select components to the builder. Each call will append to a new row.
public DiscordInteractionModalBuilder AddSelectComponents(params DiscordBaseSelectComponent[] components)
Parameters
components
DiscordBaseSelectComponent[]The components to append. Up to five.
Returns
- DiscordInteractionModalBuilder
The current builder to chain calls with.
Exceptions
- ArgumentException
Thrown when passing more than 5 components.