Interface IApplicationCommandInfo
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
public interface IApplicationCommandInfo
Properties
Contexts
IEnumerable<InteractionContextType>? Contexts { get; }
Property Value
- IEnumerable<InteractionContextType>
DefaultGuildPermissions
Permissions? DefaultGuildPermissions { get; }
Property Value
- Permissions?
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
Register
Property Value
- bool
Methods
GetRawValueAsync(CancellationToken)
ValueTask<ApplicationCommandProperties> GetRawValueAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Returns
- ValueTask<ApplicationCommandProperties>