mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +02:00
Add URLs to all author embed fields
This commit is contained in:
@@ -42,7 +42,7 @@ module.exports = class RottenTomatoesCommand extends Command {
|
||||
.setColor(0xFFEC02)
|
||||
.setTitle(`${body.title} (${body.year})`)
|
||||
.setURL(`https://www.rottentomatoes.com${body.url}`)
|
||||
.setAuthor('Rotten Tomatoes', 'https://i.imgur.com/Sru8mZ3.jpg')
|
||||
.setAuthor('Rotten Tomatoes', 'https://i.imgur.com/Sru8mZ3.jpg', 'https://www.rottentomatoes.com/')
|
||||
.setDescription(shorten(body.ratingSummary.consensus))
|
||||
.setThumbnail(body.posters.original)
|
||||
.addField('❯ Critic Score',
|
||||
|
||||
Reference in New Issue
Block a user