Class InteractionCreateEventArgs
Represents arguments for InteractionCreated
Inheritance
System.Object
System.EventArgs
InteractionCreateEventArgs
Namespace: DisCatSharp.EventArgs
Assembly: DisCatSharp.dll
Syntax
public class InteractionCreateEventArgs : DiscordEventArgs
Constructors
| Improve this Doc View SourceInteractionCreateEventArgs(IServiceProvider)
Initializes a new instance of the InteractionCreateEventArgs class.
Declaration
public InteractionCreateEventArgs(IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | provider | The provider. |
Properties
| Improve this Doc View SourceInteraction
Gets the interaction data that was invoked.
Declaration
public DiscordInteraction Interaction { get; }
Property Value
Type | Description |
---|---|
DiscordInteraction |