mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
fix
This commit is contained in:
@@ -42,7 +42,7 @@ module.exports = class MDNCommand extends Command {
|
|||||||
const embed = new MessageEmbed()
|
const embed = new MessageEmbed()
|
||||||
.setColor(0x066FAD)
|
.setColor(0x066FAD)
|
||||||
.setAuthor('MDN', 'https://i.imgur.com/DFGXabG.png', 'https://developer.mozilla.org/')
|
.setAuthor('MDN', 'https://i.imgur.com/DFGXabG.png', 'https://developer.mozilla.org/')
|
||||||
.setURL(data.mdn_url)
|
.setURL(`https://developer.mozilla.org${data.mdn_url}`)
|
||||||
.setTitle(data.title)
|
.setTitle(data.title)
|
||||||
.setDescription(data.summary);
|
.setDescription(data.summary);
|
||||||
return msg.embed(embed);
|
return msg.embed(embed);
|
||||||
|
|||||||
Reference in New Issue
Block a user