updates bot api such that sensors and command are more similar