mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
update art to use the image hash
fix image embed description
This commit is contained in:
parent
d61e3aa185
commit
a0d6f1fd09
2 changed files with 4 additions and 2 deletions
|
@ -112,6 +112,8 @@ module.exports.createEmbed = function(type, context, content){
|
|||
if(content.provider.icon) emb.footer.iconUrl = content.provider.icon
|
||||
}
|
||||
|
||||
if(content.description) emb.description = content.description
|
||||
|
||||
if(content.time && emb.footer) emb.footer.text = `${emb.footer.text} • Took ${content.time}s`
|
||||
|
||||
return emb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue