Added wait to the bot.