Table of Contents

Method CreateGlobalApplicationCommandAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.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.