Skip to main content

transformCreateApplicationCommandToDiscordCreateApplicationCommand

@discordeno/botDocs


Documentation / @discordeno/bot / transformCreateApplicationCommandToDiscordCreateApplicationCommand

Function: transformCreateApplicationCommandToDiscordCreateApplicationCommand()

transformCreateApplicationCommandToDiscordCreateApplicationCommand(bot, payload): DiscordCreateApplicationCommand

Parameters

bot: Bot<TransformersDesiredProperties, RemoveKey>

payload: CreateApplicationCommand

Returns

DiscordCreateApplicationCommand

Defined in

packages/bot/src/transformers/reverse/createApplicationCommand.ts:4