Table of Contents

Method WithReply

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

WithReply(ulong?, bool, bool)

Sets if the message is a reply

public DiscordMessageBuilder WithReply(ulong? messageId, bool mention = false, bool failOnInvalidReply = false)

Parameters

messageId ulong?

The ID of the message to reply to.

mention bool

If we should mention the user in the reply.

failOnInvalidReply bool

Whether sending a reply that references an invalid message should be

Returns

DiscordMessageBuilder

The current builder to be chained.