Class InteractionCommandInstallTypeAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
Specifies the installation context for a command or module.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false)]
public class InteractionCommandInstallTypeAttribute : Attribute
- Inheritance
-
InteractionCommandInstallTypeAttribute
Constructors
- InteractionCommandInstallTypeAttribute(params DiscordApplicationIntegrationType[])
Specifies the installation context for a command or module.
Properties
- InstallTypes
The contexts the command is allowed to be installed to.