Class TextCommandContext
- Namespace
- DSharpPlus.Commands.Processors.TextCommands
- Assembly
- DSharpPlus.Commands.dll
public sealed record TextCommandContext : CommandContext
- Inheritance
-
TextCommandContext
- Inherited Members
Properties
Methods
- DeferResponseAsync()
Creates a deferred response to this interaction.
- DeleteFollowupAsync(ulong)
Deletes a followup message sent from this interaction.
- DeleteResponseAsync()
Deletes the sent response.
- EditFollowupAsync(ulong, IDiscordMessageBuilder)
Edits a followup message.
- EditResponseAsync(IDiscordMessageBuilder)
Edits the response.
- FollowupAsync(IDiscordMessageBuilder)
Creates a followup message to the interaction.
- GetFollowupAsync(ulong, bool)
Gets a sent followup message from this interaction.
- GetResponseAsync()
Gets the sent response.
- RespondAsync(IDiscordMessageBuilder)
Creates a response to this interaction.
You must create a response within 3 seconds of this interaction being executed; if the command has the potential to take more than 3 seconds, use DeferResponseAsync() at the start, and edit the response later.