Table of Contents

Class ApplicationCommandServiceManager

Namespace
NetCord.Services.ApplicationCommands
Assembly
NetCord.Services.dll
public class ApplicationCommandServiceManager
Inheritance
ApplicationCommandServiceManager
Inherited Members

Constructors

ApplicationCommandServiceManager()

public ApplicationCommandServiceManager()

Methods

AddService(IApplicationCommandService)

public void AddService(IApplicationCommandService service)

Parameters

service IApplicationCommandService

CreateCommandsAsync(RestClient, ulong, bool, RestRequestProperties?, CancellationToken)

public Task<IReadOnlyList<ApplicationCommand>> CreateCommandsAsync(RestClient client, ulong applicationId, bool includeGuildCommands = false, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

client RestClient
applicationId ulong
includeGuildCommands bool
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<IReadOnlyList<ApplicationCommand>>