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
boolIf we should mention the user in the reply.
failOnInvalidReply
boolWhether sending a reply that references an invalid message should be
Returns
- DiscordMessageBuilder
The current builder to be chained.