Table of Contents

Class CommandContext

Namespace
NetCord.Services.Commands
Assembly
NetCord.Services.dll
public class CommandContext : BaseCommandContext, ICommandContext, IGatewayClientContext, IGuildContext, IChannelContext, IUserContext
Inheritance
CommandContext
Implements
Inherited Members

Constructors

CommandContext(Message, GatewayClient)

public CommandContext(Message message, GatewayClient client)

Parameters

message Message
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

User

public User User { get; }

Property Value

User