added filter to allow developers to include additional checks for bot 

added filter to allow developers to include additional checks for bot

updated the changed function to adhere to the new braces standard.

Close issue #813