Method CreateGlobalApplicationCommandAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
CreateGlobalApplicationCommandAsync(DiscordApplicationCommand)
Creates or overwrites a global application command.
public Task<DiscordApplicationCommand> CreateGlobalApplicationCommandAsync(DiscordApplicationCommand command)
Parameters
command
DiscordApplicationCommandThe command to create.
Returns
- Task<DiscordApplicationCommand>
The created command.