Golang bot for managing discord verifications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
486 B

"use strict";
exports.__esModule = true;
exports.default = function (_ref) {
var t = _ref.types;
var visitor = {
JSXOpeningElement: function JSXOpeningElement(_ref2) {
var node = _ref2.node;
var id = t.jSXIdentifier(TRACE_ID);
var trace = t.thisExpression();
node.attributes.push(t.jSXAttribute(id, t.jSXExpressionContainer(trace)));
}
};
return {
visitor: visitor
};
};
var TRACE_ID = "__self";
module.exports = exports["default"];