Skip to main content

transformApplicationCommandPermissionToDiscordApplicationCommandPermission

@discordeno/bot


Documentation / @discordeno/bot / transformApplicationCommandPermissionToDiscordApplicationCommandPermission

Function: transformApplicationCommandPermissionToDiscordApplicationCommandPermission()

transformApplicationCommandPermissionToDiscordApplicationCommandPermission(bot, payload): DiscordGuildApplicationCommandPermissions

Defined in: packages/bot/src/transformers/reverse/applicationCommandPermission.ts:3

Parameters

bot

Bot

payload

GuildApplicationCommandPermissions

Returns

DiscordGuildApplicationCommandPermissions