From e23053650e5938cff9d5d8a237519f0cac220178 Mon Sep 17 00:00:00 2001 From: bignutty <3515180-bignutty@users.noreply.gitlab.com> Date: Sat, 8 Feb 2025 14:18:54 +0100 Subject: [PATCH] use proper embed helper --- commands/interaction/context/ocr.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/interaction/context/ocr.js b/commands/interaction/context/ocr.js index 8d6c96c..5c1aef1 100644 --- a/commands/interaction/context/ocr.js +++ b/commands/interaction/context/ocr.js @@ -78,7 +78,7 @@ module.exports = { }) await editOrReply(context, createEmbed("default", context, { - embeds: [{ + embeds: [createEmbed("default", context, { thumbnail: { url: attachment }, @@ -87,7 +87,7 @@ module.exports = { iconUrl: STATICS.googlelens, text: `Google Lens • ${context.application.name} • Took ${ocr.timings}s` } - }], + })], components })) }catch(e){