code: function bindToBotDialog(bot, intentDialog, modelUrl, actions, options) {
      if (!bot) {
          throw new Error('bot is required');
      }
      if (!intentDialog) {
          throw new Error('intentDialog is required');
      }
  
      if (!modelUrl) {
          throw new Error('ModelUrl is required');
      }
  
      options = options || {};
  
      // enable bot persistence (used for storing actionModel in privateConversationData)
      bot.set('persistConversationData', true);
  
      // register dialog for handling input evaluation
      bot.library(createBotLibrary(modelUrl, actions, options));
  
      // Register each LuisActions with the intentDialog
      _.forEach(actions, function (action) {
          intentDialog.matches(action.intentName, createBotAction(action, modelUrl));
      });
  }
docs: /*
  Bot Stuff