diff options
Diffstat (limited to 'build/cleaners/socialmedia.js')
-rw-r--r-- | build/cleaners/socialmedia.js | 10 |
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; |