implemented basic status query in bot