Table of Contents

Method CreateApplicationCommandAsync

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