Table of Contents

Class DisCatSharpCommandContext

Namespace
DisCatSharp.Entities.Core
Assembly
DisCatSharp.dll

Interface for various command types like slash commands, user commands, message commands, text commands, etc.

public class DisCatSharpCommandContext
Inheritance
DisCatSharpCommandContext
Inherited Members

Properties

ChannelId

Gets the id of the channel this command gets executed in.

Client

Gets the client.

CommandId

Gets the id of the command.

CommandName

Gets the name of the command.

CommandType

Gets the type of the command.

FullCommandName

Gets the fully qualified name of the command.

GuildId

Gets the id of the guild this command gets executed in.

MemberId

Gets the id of the member who executes this command.

SubCommandName

Gets the name of the sub command.

SubSubCommandName

Gets the name of the sub command within a sub group.

UserId

Gets the id of the user who executes this command.