Skip to main content

transformApplicationCommandToDiscordApplicationCommand

@discordeno/botDocs


Documentation / @discordeno/bot / transformApplicationCommandToDiscordApplicationCommand

Function: transformApplicationCommandToDiscordApplicationCommand()

transformApplicationCommandToDiscordApplicationCommand(bot, payload): DiscordApplicationCommand

Parameters

bot: Bot<TransformersDesiredProperties, RemoveKey>

payload: ApplicationCommand

Returns

DiscordApplicationCommand

Defined in

packages/bot/src/transformers/reverse/applicationCommand.ts:3