mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 13:56:43 +02:00
Add URLs to all author embed fields
This commit is contained in:
@@ -35,7 +35,7 @@ module.exports = class ForecastCommand extends Command {
|
||||
const data = body.query.results.channel;
|
||||
const embed = new MessageEmbed()
|
||||
.setColor(0x0000FF)
|
||||
.setAuthor(data.title, 'https://i.imgur.com/B9MMbtB.png')
|
||||
.setAuthor(data.title, 'https://i.imgur.com/B9MMbtB.png', 'https://www.yahoo.com/news/weather')
|
||||
.setURL(data.link)
|
||||
.setTimestamp();
|
||||
for (let i = 0; i < 7; i++) {
|
||||
|
||||
Reference in New Issue
Block a user