Class UserCommandContext
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
public class UserCommandContext : BaseUserCommandContext, IApplicationCommandContext, IInteractionContext, IGatewayClientContext, IGuildContext, IChannelContext, IUserContext
- Inheritance
-
UserCommandContext
- Implements
- Inherited Members
Constructors
UserCommandContext(UserCommandInteraction, GatewayClient)
public UserCommandContext(UserCommandInteraction interaction, GatewayClient client)
Parameters
interaction
UserCommandInteractionclient
GatewayClient
Properties
Channel
public TextChannel Channel { get; }
Property Value
Client
public GatewayClient Client { get; }
Property Value
Guild
public Guild? Guild { get; }
Property Value
Target
public User Target { get; }
Property Value
User
public User User { get; }