DSharpPlus.SlashCommands/Entities/DiscordInteractionBuilder.cs
/// <summary>
/// Adds an embed to the interaction response
/// </summary>
/// <param name="embed">The embed to add to the interaction response</param>
/// <returns>The modified interaction builder</returns>
Adds an embed to the interaction response
Adds an embed to the interaction response
public DiscordInteractionBuilder WithEmbed(DiscordEmbed embed)
        {
            var list = Embeds.ToList();
            list.Add(embed);
            Embeds = list;
            return this;
        }
public DiscordInteractionBuilder WithEmbed ( DiscordEmbed embed ) { var list = Embeds . ToList ( ) ; list . Add ( embed ) ; Embeds = list ; return this ; }
Adds an embed to the interaction response
Adds an embed to the interaction response
The modified interaction builder
The modified interaction builder
embed
DiscordEmbed
The embed to add to the interaction response
The embed to add to the interaction response