Skip to main content

Enum ContextType

Defines the type of command context (i.e. where the command is being executed).

Assembly: Discord.Net.Commands.dll​
View Source​
Declaration
[Flags]
public enum ContextType

Fields​

Guild​

Specifies the command to be executed within a guild.

View Source​
Declaration
Guild = 1

DM​

Specifies the command to be executed within a DM.

View Source​
Declaration
DM = 2

Group​

Specifies the command to be executed within a group.

View Source​
Declaration
Group = 4