Table of Contents

Method CreateApplicationCommandAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

CreateApplicationCommandAsync(DiscordApplicationCommand)

Creates or overwrites a application command in this guild.

public Task<DiscordApplicationCommand> CreateApplicationCommandAsync(DiscordApplicationCommand command)

Parameters

command DiscordApplicationCommand

The command to create.

Returns

Task<DiscordApplicationCommand>

The created command.