1
0
Fork 0

Renamed embed

Commando
loicbersier 6 years ago
parent 8ab2125311
commit 9cb76393d7

@ -29,11 +29,11 @@ module.exports = class redditCommand extends Command {
if (body.data.children[i].data.over_18 == true) {
return message.say("No nsfw")
}
const dogEmbed = new Discord.RichEmbed()
const redditEmbed = new Discord.RichEmbed()
.setColor("#ff9900")
.setTitle(body.data.children[i].data.title)
.setImage(body.data.children[i].data.preview.images[0].source.url)
message.say(dogEmbed);
message.say(redditEmbed);
}
}
Loading…
Cancel
Save