Table of Contents

Method AddGlobalApplicationCommands

Namespace
DSharpPlus.Commands.Processors.SlashCommands
Assembly
DSharpPlus.Commands.dll

AddGlobalApplicationCommands(params DiscordApplicationCommand[])

public void AddGlobalApplicationCommands(params DiscordApplicationCommand[] commands)

Parameters

commands DiscordApplicationCommand[]

AddGlobalApplicationCommands(IEnumerable<DiscordApplicationCommand>)

public void AddGlobalApplicationCommands(IEnumerable<DiscordApplicationCommand> commands)

Parameters

commands IEnumerable<DiscordApplicationCommand>