Table of Contents

Method CleanGlobalCommandsAsync

Namespace
DisCatSharp.ApplicationCommands
Assembly
DisCatSharp.ApplicationCommands.dll

CleanGlobalCommandsAsync(CancellationToken)

Cleans all global application commands.

caution

You normally don't need to execute it.

public Task CleanGlobalCommandsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task