Table of Contents

Method CreateGlobalApplicationCommandAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

CreateGlobalApplicationCommandAsync(DiscordApplicationCommand)

Creates or overwrites a global application command.

public Task<DiscordApplicationCommand> CreateGlobalApplicationCommandAsync(DiscordApplicationCommand command)

Parameters

command DiscordApplicationCommand

The command to create.

Returns

Task<DiscordApplicationCommand>

The created command.