Table of Contents

Method RespondAsync

Namespace
DSharpPlus.Commands.Processors.TextCommands
Assembly
DSharpPlus.Commands.dll

RespondAsync(IDiscordMessageBuilder)

Creates a response to this interaction.

You must create a response within 3 seconds of this interaction being executed; if the command has the potential to take more than 3 seconds, use DeferResponseAsync() at the start, and edit the response later.

public override ValueTask RespondAsync(IDiscordMessageBuilder builder)

Parameters

builder IDiscordMessageBuilder

The message builder.

Returns

ValueTask