Skip to main content

transformApplicationCommandOption

@discordeno/botDocs


Documentation / @discordeno/bot / transformApplicationCommandOption

Function: transformApplicationCommandOption()

transformApplicationCommandOption(bot, payload): ApplicationCommandOption

Parameters

bot: Bot<TransformersDesiredProperties, RemoveKey>

payload: DiscordApplicationCommandOption

Returns

ApplicationCommandOption

Defined in

packages/bot/src/transformers/applicationCommandOption.ts:4