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
stringContent to send in the followup message.
ephemeral
boolSpecifies 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
DiscordEmbedEmbed to send in the followup message.
ephemeral
boolSpecifies 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
stringContent to send in the followup message.
embed
DiscordEmbedEmbed to send in the followup message.
ephemeral
boolSpecifies 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
IDiscordMessageBuilderThe followup message to be sent.
Returns
- ValueTask<DiscordMessage>
The created message.