Table of Contents

Method DeleteGlobalApplicationCommandAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

DeleteGlobalApplicationCommandAsync(ulong, CancellationToken)

Deletes a global application command.

public Task DeleteGlobalApplicationCommandAsync(ulong commandId, CancellationToken cancellationToken = default)

Parameters

commandId ulong

The id of the command to delete.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task