MCPcopy Create free account
hub / github.com/ZeppelinBot/Zeppelin / hasDiscordPermissions

Function hasDiscordPermissions

backend/src/utils/hasDiscordPermissions.ts:7–21  ·  view source on GitHub ↗
(
  resolvedPermissions: PermissionsBitField | Readonly<PermissionsBitField> | null,
  requiredPermissions: number | bigint,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

canAssignRoleFunction · 0.85
isBannedFunction · 0.85
listenerFunction · 0.85
performBanSearchFunction · 0.85
applyFunction · 0.85
listenerFunction · 0.85
deleteNextItemFunction · 0.85

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected