Method AddGlobalApplicationCommands
- Namespace
- DSharpPlus.Commands.Processors.SlashCommands
- Assembly
- DSharpPlus.Commands.dll
AddGlobalApplicationCommands(params DiscordApplicationCommand[])
public void AddGlobalApplicationCommands(params DiscordApplicationCommand[] commands)
Parameters
commandsDiscordApplicationCommand[]
AddGlobalApplicationCommands(IEnumerable<DiscordApplicationCommand>)
public void AddGlobalApplicationCommands(IEnumerable<DiscordApplicationCommand> commands)
Parameters
commandsIEnumerable<DiscordApplicationCommand>