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