import getFeed from './rss-feed-poller';
import loadFile from './config-parser.js';

export default async function rssPoller(robot) {
  try {
    const config = await loadFile(process.env.HUBOT_RSS_CONFIG_FILE || 'hubotrssconfig.json');

    JSON.parse(config).feeds.map(x => getFeed({ ...x, robot }))
      .forEach(x => x.startFeed());
  } catch (err) {
    robot.logger.debug(err.message);
  }
}

@@ -231,16 +231,65 @@
 son');%0A%0A
+    if (!process.env.HUBOT_RSS_FEED_DISABLE) %7B%0A  
     JSON
@@ -350,16 +350,18 @@
 )%0A      
+  
 .forEach
@@ -382,16 +382,22 @@
 eed());%0A
+    %7D%0A
   %7D catc

Add env variable to disable this plugin