aboutsummaryrefslogtreecommitdiff
path: root/cleaners/socialmedia.ts
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-13 14:13:42 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-13 14:13:42 -0600
commit52e38809212133ef673d11bfa96ba3bb43c3644c (patch)
treef54408afd41cc64b64d5e82a3ad814b1bb55d4a7 /cleaners/socialmedia.ts
parenta23103ec24128f2e24b93ad101ade6dfdd4758c3 (diff)
downloadskyblock-api-52e38809212133ef673d11bfa96ba3bb43c3644c.tar.gz
skyblock-api-52e38809212133ef673d11bfa96ba3bb43c3644c.tar.bz2
skyblock-api-52e38809212133ef673d11bfa96ba3bb43c3644c.zip
move stuff into src folder
Diffstat (limited to 'cleaners/socialmedia.ts')
-rw-r--r--cleaners/socialmedia.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/cleaners/socialmedia.ts b/cleaners/socialmedia.ts
deleted file mode 100644
index c1f9551..0000000
--- a/cleaners/socialmedia.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { HypixelPlayerSocialMedia } from "../hypixelApi";
-
-export interface CleanSocialMedia {
- discord: string | null
- forums: string | null
-}
-
-export function parseSocialMedia(socialMedia: HypixelPlayerSocialMedia): CleanSocialMedia {
- return {
- discord: socialMedia?.links?.DISCORD || null,
- forums: socialMedia?.links?.HYPIXEL || null
- }
-}
-