Method EditResponseAsync
- Namespace
- DSharpPlus.Commands
- Assembly
- DSharpPlus.Commands.dll
EditResponseAsync(string)
Edits the response.
public virtual ValueTask<DiscordMessage> EditResponseAsync(string content)
Parameters
content
stringContent to send in the response.
Returns
- ValueTask<DiscordMessage>
EditResponseAsync(DiscordEmbed)
Edits the response.
public virtual ValueTask<DiscordMessage> EditResponseAsync(DiscordEmbed embed)
Parameters
embed
DiscordEmbedEmbed 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
stringContent to send in the response.
embed
DiscordEmbedEmbed to send in the response.
Returns
- ValueTask<DiscordMessage>
EditResponseAsync(IDiscordMessageBuilder)
Edits the response.
public abstract ValueTask<DiscordMessage> EditResponseAsync(IDiscordMessageBuilder builder)
Parameters
builder
IDiscordMessageBuilderThe message builder.
Returns
- ValueTask<DiscordMessage>