Property AllowedContexts
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
AllowedContexts
The contexts the command is allowed to be used in.
public IReadOnlyList<DiscordInteractionContextType> AllowedContexts { get; }
Property Value
- IReadOnlyList<DiscordInteractionContextType>