Removed link from image title, handle undefined guilds

This commit is contained in:
Essem 2021-08-09 11:12:47 -05:00
parent 3ce2352d1c
commit 4dc1b9f5a9
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
2 changed files with 3 additions and 2 deletions

View file

@ -21,7 +21,7 @@ class ImageSearchCommand extends Command {
"footer": {
"text": `Page ${i + 1} of ${images.results.length}`
},
"description": `[${value.title}](${encodeURI(value.img_src)})`,
"description": value.title,
"image": {
"url": encodeURI(value.img_src)
},