Class ApplicationCommandAttribute
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public abstract class ApplicationCommandAttribute : Attribute
- Inheritance
-
ApplicationCommandAttribute
- Derived
- Inherited Members
Properties
Contexts
public InteractionContextType[]? Contexts { get; init; }
Property Value
DMPermission
[Obsolete("Replaced by 'Contexts'.")]
public bool DMPermission { get; init; }
Property Value
DefaultGuildUserPermissions
public Permissions DefaultGuildUserPermissions { get; init; }
Property Value
DefaultPermission
[Obsolete("Replaced by 'DefaultGuildUserPermissions'.")]
public bool DefaultPermission { get; init; }
Property Value
GuildId
public ulong GuildId { get; init; }
Property Value
IntegrationTypes
public ApplicationIntegrationType[]? IntegrationTypes { get; init; }
Property Value
Name
public string Name { get; }
Property Value
Nsfw
public bool Nsfw { get; init; }