Table of Contents

Method EditResponseAsync

Namespace
DSharpPlus.Commands
Assembly
DSharpPlus.Commands.dll

EditResponseAsync(string)

Edits the response.

public virtual ValueTask<DiscordMessage> EditResponseAsync(string content)

Parameters

content string

Content to send in the response.

Returns

ValueTask<DiscordMessage>

EditResponseAsync(DiscordEmbed)

Edits the response.

public virtual ValueTask<DiscordMessage> EditResponseAsync(DiscordEmbed embed)

Parameters

embed DiscordEmbed

Embed to send in the response.

Returns

ValueTask<DiscordMessage>

EditResponseAsync(string, DiscordEmbed)

Edits the response.

public virtual ValueTask<DiscordMessage> EditResponseAsync(string content, DiscordEmbed embed)

Parameters

content string

Content to send in the response.

embed DiscordEmbed

Embed to send in the response.

Returns

ValueTask<DiscordMessage>

EditResponseAsync(IDiscordMessageBuilder)

Edits the response.

public abstract ValueTask<DiscordMessage> EditResponseAsync(IDiscordMessageBuilder builder)

Parameters

builder IDiscordMessageBuilder

The message builder.

Returns

ValueTask<DiscordMessage>