Skip to main content

transformApplicationCommand

@discordeno/botDocs


Documentation / @discordeno/bot / transformApplicationCommand

Function: transformApplicationCommand()

transformApplicationCommand(bot, payload): ApplicationCommand

Parameters

bot: Bot<TransformersDesiredProperties, RemoveKey>

payload: DiscordApplicationCommand

Returns

ApplicationCommand

Defined in

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