aboutsummaryrefslogtreecommitdiff
path: root/build/cleaners/socialmedia.js
blob: 84ebfd5fc5a8934ab794100f5b6ecd8fbf906823 (plain)
1
2
3
4
5
6
7
8
9
10
11
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseSocialMedia = void 0;
function parseSocialMedia(socialMedia) {
    var _a, _b;
    return {
        discord: ((_a = socialMedia === null || socialMedia === void 0 ? void 0 : socialMedia.links) === null || _a === void 0 ? void 0 : _a.DISCORD) || null,
        forums: ((_b = socialMedia === null || socialMedia === void 0 ? void 0 : socialMedia.links) === null || _b === void 0 ? void 0 : _b.HYPIXEL) || null
    };
}
exports.parseSocialMedia = parseSocialMedia;