Enum InteractionContextType
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a context in Discord where an interaction can be used.
public enum InteractionContextType
Fields
BotDm = 1
The command can be used in DM channel with the bot.
Guild = 0
The command can be used in guilds.
PrivateChannel = 2
The command can be used in private channels.