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