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
@@ -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',