From 258d9a88e291c4b69c101f4ab4fb6c7d1db5e61d Mon Sep 17 00:00:00 2001 From: Naomi Date: Mon, 20 May 2024 22:14:58 -0700 Subject: [PATCH] fix: include correct fields oops --- src/modules/checkAirtableRecords.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/modules/checkAirtableRecords.ts b/src/modules/checkAirtableRecords.ts index a34d14e..7887984 100644 --- a/src/modules/checkAirtableRecords.ts +++ b/src/modules/checkAirtableRecords.ts @@ -45,7 +45,8 @@ export const checkAirtableRecords = async (bot: ExtendedClient) => { Reference: images, "Contact Method": platform, Handle: handle, - "Anything Else?": note, + "What would you like us to draw?": note, + "Anything Else?": additional, } = record.fields; const files: AttachmentBuilder[] = []; for (const imageUrl of images) { @@ -58,7 +59,10 @@ export const checkAirtableRecords = async (bot: ExtendedClient) => { files.push(file); } await bot.comm.send({ - content: `**FOR:** ${name} - Contact via ${platform}: ${handle}\n\n${note}\n\nReferences:`, + content: `**FOR:** ${name} - Contact via ${platform}: ${handle}\n\n${note?.slice( + 0, + 1000 + )}\n\n${additional?.slice(0, 1000)}\n\nReferences:`, files, }); return;