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 = 1The command can be used in DM channel with the bot.
Guild = 0The command can be used in guilds.
PrivateChannel = 2The command can be used in private channels.