Skip to content

Commit

Permalink
lol I'm dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleylamont committed Oct 30, 2024
1 parent afdffbf commit c52f859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quotes-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c52f859

Please sign in to comment.