mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -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, {
|
||||
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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue