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
@@ -45,7 +45,7 @@ module.exports = class WikiaCommand extends Command {
.setColor(0x002D54)
.setTitle(data.title)
.setURL(search.body.items[0].url)
.setAuthor('Wikia', 'https://i.imgur.com/15A34JT.png')
.setAuthor('Wikia', 'https://i.imgur.com/15A34JT.png', 'http://www.wikia.com/fandom')
.setDescription(shorten(data.content.map(section => section.text).join('\n\n')))
.setThumbnail(data.images.length ? data.images[0].src : null);
return msg.embed(embed);