From c2fa0ce2a791fe197b2283e48325893201426ea7 Mon Sep 17 00:00:00 2001 From: Bsian Date: Wed, 16 Oct 2019 00:25:09 +0100 Subject: [PATCH] Removed unnecessary function --- src/class/RichEmbed.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/class/RichEmbed.ts b/src/class/RichEmbed.ts index c870f66..38dbfec 100644 --- a/src/class/RichEmbed.ts +++ b/src/class/RichEmbed.ts @@ -1,9 +1,4 @@ /* eslint-disable no-param-reassign */ -function resolveString(data: any) { - if (typeof data === 'string') return data; - if (data instanceof Array) return data.join('\n'); - return String(data); -} export default class RichEmbed { title?: string