transformApplicationCommandToDiscordApplicationCommand
@discordeno/bot • Docs
Documentation / @discordeno/bot / transformApplicationCommandToDiscordApplicationCommand
Function: transformApplicationCommandToDiscordApplicationCommand()
transformApplicationCommandToDiscordApplicationCommand(
bot
,payload
):DiscordApplicationCommand
Parameters
• bot: Bot
<TransformersDesiredProperties
, RemoveKey
>
• payload: ApplicationCommand
Returns
Defined in
packages/bot/src/transformers/reverse/applicationCommand.ts:3