aboutsummaryrefslogtreecommitdiff
path: root/build/cleaners/socialmedia.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/cleaners/socialmedia.js')
-rw-r--r--build/cleaners/socialmedia.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/cleaners/socialmedia.js b/build/cleaners/socialmedia.js
new file mode 100644
index 0000000..fb0bcfd
--- /dev/null
+++ b/build/cleaners/socialmedia.js
@@ -0,0 +1,10 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.parseSocialMedia = void 0;
+function parseSocialMedia(socialMedia) {
+ return {
+ discord: socialMedia?.links?.DISCORD || null,
+ forums: socialMedia?.links?.HYPIXEL || null
+ };
+}
+exports.parseSocialMedia = parseSocialMedia;