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
contentstringContent to send in the followup message.
ephemeralboolSpecifies 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
embedDiscordEmbedEmbed to send in the followup message.
ephemeralboolSpecifies 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
contentstringContent to send in the followup message.
embedDiscordEmbedEmbed to send in the followup message.
ephemeralboolSpecifies 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
builderIDiscordMessageBuilderThe followup message to be sent.
Returns
- ValueTask<DiscordMessage>
The created message.