Method CreateGlobalApplicationCommandAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.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.