jsdelivr / globalping-chat-bots

0 stars 0 forks source link

Combine filters #41

Closed jimaek closed 1 year ago

jimaek commented 1 year ago

Currently we can do from OVH+PL and from OVH,Google but how about: from OVH+PL,Google+PL

because I want to get replies from both Google and OVH in Poland.

Is it possible, any thoughts?

If its doable we should do it for the CLI too

didil commented 1 year ago

@jimaek I think this syntax is already supported in both the chatbot and the cli. We split on the comma separator and send to the GP api as multiple locations. You can try this in both clients: ping google.com -L 10 --from OVH+FR,Google+US, it returns a mix of results from OVH+FR and Google+US

jimaek commented 1 year ago

That's weird, I swear I tested it before opening the issue and got an error. Let me retest everything