From 4a332bb77b9c5b2952b08dd5583c6c2351b21fa5 Mon Sep 17 00:00:00 2001 From: Jayvin Hernandez Date: Sun, 18 Dec 2022 16:07:38 -0800 Subject: [PATCH] fix: forgor (#253) --- src/lib/discord.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/discord.ts b/src/lib/discord.ts index fafe8ca..5f2d485 100644 --- a/src/lib/discord.ts +++ b/src/lib/discord.ts @@ -11,7 +11,7 @@ export function parseContent( args: ParseValue ): ConfigDiscordContent & { url: string } { return { - content: parseString(content.content, args), + content: content.content ? parseString(content.content, args) : null, embed: content.embed ? { title: content.embed.title ? parseString(content.embed.title, args) : null,