Class ApplicationCommandServiceManager
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
public class ApplicationCommandServiceManager
- Inheritance
-
ApplicationCommandServiceManager
- Inherited Members
Constructors
ApplicationCommandServiceManager()
public ApplicationCommandServiceManager()
Properties
Services
public IReadOnlyList<IApplicationCommandService> Services { get; }
Property Value
Methods
AddService(IApplicationCommandService)
public void AddService(IApplicationCommandService service)
Parameters
service
IApplicationCommandService
RegisterCommandsAsync(RestClient, ulong, ulong?, RestRequestProperties?, CancellationToken)
public Task<IReadOnlyList<ApplicationCommand>> RegisterCommandsAsync(RestClient client, ulong applicationId, ulong? guildId = null, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
client
RestClientapplicationId
ulongguildId
ulong?properties
RestRequestPropertiescancellationToken
CancellationToken