Class ContextMenuContext
Represents a context for a context menu.
Inherited Members
Namespace: DisCatSharp.ApplicationCommands
Assembly: DisCatSharp.ApplicationCommands.dll
Syntax
public sealed class ContextMenuContext : BaseContext
Properties
| Improve this Doc View SourceTargetMember
The member this command targets, if applicable.
Declaration
public DiscordMember TargetMember { get; }
Property Value
Type | Description |
---|---|
DiscordMember |
TargetMessage
The message this command targets, if applicable.
Declaration
public DiscordMessage TargetMessage { get; }
Property Value
Type | Description |
---|---|
DiscordMessage |
TargetUser
The user this command targets, if applicable.
Declaration
public DiscordUser TargetUser { get; }
Property Value
Type | Description |
---|---|
DiscordUser |