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