DSharpPlus.SlashCommands/Entities/DiscordInteractionBuilder.cs
/// <summary>
/// Adds a mention to this interaction response
/// </summary>
/// <param name="mention">The mention to be added</param>
/// <returns>The modified interaction builder</returns>
Adds a mention to this interaction response
Adds a mention to this interaction response
public DiscordInteractionBuilder WithMention(IMention mention)
        {
            var list = Mentions.ToList();
            list.Add(mention);
            Mentions = list;
            return this;
        }
public DiscordInteractionBuilder WithMention ( IMention mention ) { var list = Mentions . ToList ( ) ; list . Add ( mention ) ; Mentions = list ; return this ; }
Adds a mention to this interaction response
Adds a mention to this interaction response
The modified interaction builder
The modified interaction builder
mention
IMention
The mention to be added
The mention to be added