Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function channelOverwriteHasPermission
import { channelOverwriteHasPermission } from "https://deno.land/x/discordeno@18.0.1/template/beginner/deps.ts";

Checks if a channel overwrite for a user id or a role id has permission in this channel

Parameters

guildId: bigint
id: bigint
overwrites: bigint[]
permissions: PermissionStrings[]