aboutsummaryrefslogtreecommitdiff
path: root/build/cleaners/socialmedia.js
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-13 14:14:50 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-13 14:14:50 -0600
commitf3e74e786df8e11f85ec895e0750df8ab124b475 (patch)
tree25c53f6452c0e75ad8f8c1290f70d9da8e46261f /build/cleaners/socialmedia.js
parent52e38809212133ef673d11bfa96ba3bb43c3644c (diff)
downloadskyblock-api-f3e74e786df8e11f85ec895e0750df8ab124b475.tar.gz
skyblock-api-f3e74e786df8e11f85ec895e0750df8ab124b475.tar.bz2
skyblock-api-f3e74e786df8e11f85ec895e0750df8ab124b475.zip
add compiled code in build folder
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;