Table of Contents

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 UserCommandInteraction
client GatewayClient

Properties

Channel

public TextChannel Channel { get; }

Property Value

TextChannel

Client

public GatewayClient Client { get; }

Property Value

GatewayClient

Guild

public Guild? Guild { get; }

Property Value

Guild

Target

public User Target { get; }

Property Value

User

User

public User User { get; }

Property Value

User