Table of Contents

Method WithAllowedMentions

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

WithAllowedMentions(IEnumerable<IMention>)

Sets if the message has allowed mentions.

public DiscordMessageBuilder WithAllowedMentions(IEnumerable<IMention> allowedMentions)

Parameters

allowedMentions IEnumerable<IMention>

The allowed Mentions that should be sent.

Returns

DiscordMessageBuilder

The current builder to be chained.