mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Add URLs to all author embed fields
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user