added variable and function comments in the Bot class