I want to configure worker to detect the good bots

Hello ,
I have worker code that is used to detect vpn , currently I want the worker to bypass the vpn detection if the traffic was coming from good bots , I searched and I found that using (request.cf.botManagement.verifiedBot) can help me , how ever its not working , and the worker still not detecting the good bots

if (request.cf.botManagement.verifiedBot) {
// Logic for handling verified bots
// You can choose to bypass certain operations or handle them differently
return fetch(request);

any one can help me how I can detect the good bots using bots managment system from cloudflare

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.