Table of Contents

Enum ContextType

Namespace
Discord.Interactions
Assembly
Discord.Net.Interactions.dll

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

[Flags]
public enum ContextType

Fields

DM = 2

Specifies the command to be executed within a DM.

Group = 4

Specifies the command to be executed within a group.

Guild = 1

Specifies the command to be executed within a guild.