Table of Contents

Class ContextMenuInteractionCreateEventArgs

Namespace
DisCatSharp.EventArgs
Assembly
DisCatSharp.dll

The context menu interaction create event args.

public sealed class ContextMenuInteractionCreateEventArgs : InteractionCreateEventArgs
Inheritance
ContextMenuInteractionCreateEventArgs
Inherited Members

Constructors

ContextMenuInteractionCreateEventArgs(IServiceProvider)

Initializes a new instance of the ContextMenuInteractionCreateEventArgs class.

Properties

TargetMessage

The message this interaction targets, if applicable.

TargetUser

The user this interaction targets, if applicable.

Type

The type of context menu that was used. This is never ChatInput.

User

The user that invoked this interaction. Can be cast to a member if this was on a guild.