how to apply filters in php bots