From c52f859d1c3287f76c5b729d3ccc9c0cc0d7f376 Mon Sep 17 00:00:00 2001 From: Ashley Lamont Date: Wed, 30 Oct 2024 12:17:58 +1100 Subject: [PATCH] lol I'm dumb --- src/quotes-server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/quotes-server.ts b/src/quotes-server.ts index d382fa8..45c7e47 100644 --- a/src/quotes-server.ts +++ b/src/quotes-server.ts @@ -26,8 +26,8 @@ export function convertMessageToQuote( // Check if the message is an embed if ( message.embeds.length === 1 && - message.embeds[0].author !== null && - message.embeds[0].author.name.includes("Quote") + message.embeds[0].title !== null && + message.embeds[0].title.includes("Quote") ) { const embed = message.embeds[0]; let author: Quote["quotee"] = embed.title ?? undefined;