Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function transformApplicationCommandPermissionToDiscordApplicationCommandPermission
import { transformApplicationCommandPermissionToDiscordApplicationCommandPermission } from "https://deno.land/x/discordeno@17.0.0/transformers/reverse/mod.ts";

Parameters

bot: Bot
payload: ApplicationCommandPermission

Returns

DiscordGuildApplicationCommandPermissions