Renamed embed
This commit is contained in:
parent
8ab2125311
commit
9cb76393d7
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue