Table of Contents

Class MessageCommandContext

Namespace
NetCord.Services.ApplicationCommands
Assembly
NetCord.Services.dll
public class MessageCommandContext : BaseMessageCommandContext, IApplicationCommandContext, IInteractionContext, IGatewayClientContext, IGuildContext, IChannelContext, IUserContext
Inheritance
MessageCommandContext
Implements
Inherited Members

Constructors

MessageCommandContext(MessageCommandInteraction, GatewayClient)

public MessageCommandContext(MessageCommandInteraction interaction, GatewayClient client)

Parameters

interaction MessageCommandInteraction
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 RestMessage Target { get; }

Property Value

RestMessage

User

public User User { get; }

Property Value

User