Method RespondAsync
- Namespace
- DSharpPlus.CommandsNext
- Assembly
- DSharpPlus.CommandsNext.dll
RespondAsync(string)
Quickly respond to the message that triggered the command.
public Task<DiscordMessage> RespondAsync(string content)
Parameters
contentstringMessage to respond with.
Returns
RespondAsync(DiscordEmbed)
Quickly respond to the message that triggered the command.
public Task<DiscordMessage> RespondAsync(DiscordEmbed embed)
Parameters
embedDiscordEmbedEmbed to attach.
Returns
RespondAsync(string, DiscordEmbed)
Quickly respond to the message that triggered the command.
public Task<DiscordMessage> RespondAsync(string content, DiscordEmbed embed)
Parameters
contentstringMessage to respond with.
embedDiscordEmbedEmbed to attach.
Returns
RespondAsync(DiscordMessageBuilder)
Quickly respond to the message that triggered the command.
public Task<DiscordMessage> RespondAsync(DiscordMessageBuilder builder)
Parameters
builderDiscordMessageBuilderThe Discord Message builder.
Returns
RespondAsync(Action<DiscordMessageBuilder>)
Quickly respond to the message that triggered the command.
public Task<DiscordMessage> RespondAsync(Action<DiscordMessageBuilder> action)
Parameters
actionAction<DiscordMessageBuilder>The Discord Message builder.