Go to Latest
function channelOverwriteHasPermission
import { channelOverwriteHasPermission } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/mod.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[]