Method WithEmbed
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
WithEmbed(DiscordEmbed)
Sets the embed for the current builder.
[Obsolete("Use the features for manipulating multiple embeds instead.", true, DiagnosticId = "DSP1001")]
public DiscordMessageBuilder WithEmbed(DiscordEmbed embed)
Parameters
embed
DiscordEmbedThe embed that should be set.
Returns
- DiscordMessageBuilder
The current builder to be chained.