Table of Contents

Method FollowupAsync

Namespace
DSharpPlus.Commands.Processors.SlashCommands
Assembly
DSharpPlus.Commands.dll

FollowupAsync(string, bool)

Creates a followup message to the interaction.

public virtual ValueTask<DiscordMessage> FollowupAsync(string content, bool ephemeral)

Parameters

content string

Content to send in the followup message.

ephemeral bool

Specifies whether this response should be ephemeral.

Returns

ValueTask<DiscordMessage>

The created message.

FollowupAsync(DiscordEmbed, bool)

Creates a followup message to the interaction.

public virtual ValueTask<DiscordMessage> FollowupAsync(DiscordEmbed embed, bool ephemeral)

Parameters

embed DiscordEmbed

Embed to send in the followup message.

ephemeral bool

Specifies whether this response should be ephemeral.

Returns

ValueTask<DiscordMessage>

The created message.

FollowupAsync(string, DiscordEmbed, bool)

Creates a followup message to the interaction.

public virtual ValueTask<DiscordMessage> FollowupAsync(string content, DiscordEmbed embed, bool ephemeral)

Parameters

content string

Content to send in the followup message.

embed DiscordEmbed

Embed to send in the followup message.

ephemeral bool

Specifies whether this response should be ephemeral.

Returns

ValueTask<DiscordMessage>

The created message.

FollowupAsync(IDiscordMessageBuilder)

Creates a followup message to the interaction.

public override ValueTask<DiscordMessage> FollowupAsync(IDiscordMessageBuilder builder)

Parameters

builder IDiscordMessageBuilder

The followup message to be sent.

Returns

ValueTask<DiscordMessage>

The created message.