Interface IApplicationCommandInfo
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
public interface IApplicationCommandInfo
Properties
Contexts
IEnumerable<InteractionContextType>? Contexts { get; }
Property Value
- IEnumerable<InteractionContextType>
DMPermission
bool DMPermission { get; }
Property Value
- bool
DefaultGuildUserPermissions
Permissions? DefaultGuildUserPermissions { get; }
Property Value
- Permissions?
DefaultPermission
bool DefaultPermission { get; }
Property Value
- bool
GuildId
Property Value
- ulong?
IntegrationTypes
IEnumerable<ApplicationIntegrationType>? IntegrationTypes { get; }
Property Value
- IEnumerable<ApplicationIntegrationType>
LocalizationPath
ImmutableList<LocalizationPathSegment> LocalizationPath { get; }
Property Value
- ImmutableList<LocalizationPathSegment>
LocalizationsProvider
ILocalizationsProvider? LocalizationsProvider { get; }
Property Value
- ILocalizationsProvider
Name
Property Value
- string
Nsfw
Property Value
- bool
Methods
GetRawValueAsync(CancellationToken)
ValueTask<ApplicationCommandProperties> GetRawValueAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Returns
- ValueTask<ApplicationCommandProperties>