moved while loop to ask_bot()