CommandPermissionRequirement

CommandPermissionRequirement

type: readonly PermissionFlag[] | { allOf?: readonly PermissionFlag[]; anyOf?: readonly PermissionFlag[]; }

Permissions a user or the bot must hold. An array requires every flag. The object form requires every flag in allOf and at least one flag in anyOf. Administrator passes every check. When a check fails, Weeble replies with the missing permission names.