mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 06:45:31 +02:00
Add URLs to all author embed fields
This commit is contained in:
@@ -40,7 +40,7 @@ module.exports = class StackOverflowCommand extends Command {
|
||||
const data = body.items[0];
|
||||
const embed = new MessageEmbed()
|
||||
.setColor(0xF48023)
|
||||
.setAuthor('Stack Overflow', 'https://i.imgur.com/P2jAgE3.png')
|
||||
.setAuthor('Stack Overflow', 'https://i.imgur.com/P2jAgE3.png', 'https://stackoverflow.com/')
|
||||
.setURL(data.link)
|
||||
.setTitle(data.title)
|
||||
.addField('❯ ID',
|
||||
|
||||
Reference in New Issue
Block a user