Added an isOperator check to the Bot API.