Table of Contents

Method EditFollowupAsync

Namespace
DSharpPlus.Commands
Assembly
DSharpPlus.Commands.dll

EditFollowupAsync(ulong, string)

Edits a followup message.

public virtual ValueTask<DiscordMessage> EditFollowupAsync(ulong messageId, string content)

Parameters

messageId ulong

The id of the followup message to edit.

content string

Content to send in the followup message.

Returns

ValueTask<DiscordMessage>

The edited message.

EditFollowupAsync(ulong, DiscordEmbed)

Edits a followup message.

public virtual ValueTask<DiscordMessage> EditFollowupAsync(ulong messageId, DiscordEmbed embed)

Parameters

messageId ulong

The id of the followup message to edit.

embed DiscordEmbed

Embed to send in the followup message.

Returns

ValueTask<DiscordMessage>

The edited message.

EditFollowupAsync(ulong, string, DiscordEmbed)

Edits a followup message.

public virtual ValueTask<DiscordMessage> EditFollowupAsync(ulong messageId, string content, DiscordEmbed embed)

Parameters

messageId ulong

The id of the followup message to edit.

content string

Content to send in the followup message.

embed DiscordEmbed

Embed to send in the followup message.

Returns

ValueTask<DiscordMessage>

The edited message.

EditFollowupAsync(ulong, IDiscordMessageBuilder)

Edits a followup message.

public abstract ValueTask<DiscordMessage> EditFollowupAsync(ulong messageId, IDiscordMessageBuilder builder)

Parameters

messageId ulong

The id of the followup message to edit.

builder IDiscordMessageBuilder

The message builder.

Returns

ValueTask<DiscordMessage>

The edited message.