API reference
Method WithEmbed
- Namespace
- DisCatSharp.Interactivity.Entities
- Assembly
- DisCatSharp.Interactivity.dll
WithEmbed(DiscordEmbedBuilder)
Sets the embed of the page.
warning
This cannot be used together with AddComponents(params DiscordComponent[]) / AddComponents(IEnumerable<DiscordComponent>).
public Page WithEmbed(DiscordEmbedBuilder embedBuilder)
Parameters
embedBuilderDiscordEmbedBuilderThe builder used to construct the embed to add to the page.