Class SlashCommandExecutedEventArgs
Represents the arguments for a SlashCommandExecuted event
Inheritance
System.Object
System.EventArgs
SlashCommandExecutedEventArgs
Namespace: DisCatSharp.ApplicationCommands.EventArgs
Assembly: DisCatSharp.ApplicationCommands.dll
Syntax
public class SlashCommandExecutedEventArgs : DiscordEventArgs
Constructors
| Improve this Doc View SourceSlashCommandExecutedEventArgs(IServiceProvider)
Initializes a new instance of the SlashCommandExecutedEventArgs class.
Declaration
public SlashCommandExecutedEventArgs(IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | provider | The provider. |
Properties
| Improve this Doc View SourceContext
The context of the command.
Declaration
public InteractionContext Context { get; }
Property Value
Type | Description |
---|---|
InteractionContext |