LogoRobo.js
Packages@robojs/discordjs

buildSlashCommands()

Function: buildSlashCommands()

function buildSlashCommands(
   commands, 
   config?, 
   dev?): SlashCommandBuilder[]

Build slash commands for Discord API.

Parameters

ParameterType
commandsRecord<string, CommandEntry>
config?DiscordConfig
dev?boolean

Returns

SlashCommandBuilder[]

On this page