mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
use proper embed helper
This commit is contained in:
parent
7b88b7527a
commit
e23053650e
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ module.exports = {
|
||||||
})
|
})
|
||||||
|
|
||||||
await editOrReply(context, createEmbed("default", context, {
|
await editOrReply(context, createEmbed("default", context, {
|
||||||
embeds: [{
|
embeds: [createEmbed("default", context, {
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: attachment
|
url: attachment
|
||||||
},
|
},
|
||||||
|
@ -87,7 +87,7 @@ module.exports = {
|
||||||
iconUrl: STATICS.googlelens,
|
iconUrl: STATICS.googlelens,
|
||||||
text: `Google Lens • ${context.application.name} • Took ${ocr.timings}s`
|
text: `Google Lens • ${context.application.name} • Took ${ocr.timings}s`
|
||||||
}
|
}
|
||||||
}],
|
})],
|
||||||
components
|
components
|
||||||
}))
|
}))
|
||||||
}catch(e){
|
}catch(e){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue