use proper embed helper

This commit is contained in:
bignutty 2025-02-08 14:18:54 +01:00
parent 7b88b7527a
commit e23053650e

View file

@ -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){