Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function channelOverwriteHasPermission
import { channelOverwriteHasPermission } from "https://deno.land/x/discordeno@17.2.0/template/minimal/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[]