const config = require("../../../config.json");
const StatsD = require("hot-shots");

let client = false;
if(config.datadog) client = new StatsD(config.other.datadog);

module.exports = ({ type, stat, value }) => {
	if(!client) return;
	client[type](stat, value);
};

@@ -20,18 +20,33 @@
 ire(
-%22../../../
+require(%22path%22).resolve(%22
 conf
@@ -54,16 +54,17 @@
 g.json%22)
+)
 ;%0Aconst 

test a fix