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@13.0.0-rc45/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[]