Add URLs to all author embed fields

This commit is contained in:
Daniel Odendahl Jr
2018-02-26 00:09:56 +00:00
parent c9e0146459
commit 3a68ec1029
32 changed files with 39 additions and 36 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ module.exports = class GoogleBookCommand extends Command {
.setColor(0x4285F4)
.setTitle(data.title)
.setURL(data.previewLink)
.setAuthor('Google Books', 'https://i.imgur.com/N3oHABo.png')
.setAuthor('Google Books', 'https://i.imgur.com/N3oHABo.png', 'https://books.google.com/')
.setDescription(data.description ? shorten(data.description) : 'No description available.')
.setThumbnail(data.imageLinks ? data.imageLinks.thumbnail : null)
.addField(' Authors',