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