module.exports = function(robot){

	robot.facts = {
		sendFact: function(response){
			var apiUrl = 'http://numbersapi.com/random',
				fact = '';
			response.http(apiUrl).get()(function(err, res, body){
				if (!!err)
					return;
				response.send('Did you know: ' + body + '  #bocbotfacts');
			});
		}
	};

	robot.hear(/#(.*)fact/i, function(res){
		robot.facts.sendFact(res);
	});
}
module.exports = function(robot){

	robot.facts = {
		sendFact: function(response){
			var apiUrl = 'http://numbersapi.com/random',
				fact = '';
			response.http(apiUrl).get()(function(err, res, body){
				if (!!err)
					return;
				response.send(body + '  #bocbotfacts');
			});
		}
	};

	robot.hear(/#(.*)fact/i, function(res){
		robot.facts.sendFact(res);
	});
}
Remove 'Did you know:' from beginning of fact
Remove 'Did you know:' from beginning of fact
