Added checking for correct variables by the bot