Embed not sending

if (command === ‘help’) {
let sicon = bot.user.displayAvatarURL;
const hembed = new discord.RichEmbed()

.setDescription(‘Help’)
.setTile(“Help!”)
.setColor("#15f153")
.setThumbnail(sicon)
.addField(“Fun”)
.addField(“Utility”)
.addField(“Anime”);

return msg.author.send(hembed);

}

I have this command in a bot i’m making but it’s not sending it, and i can’t figure out why. I’ve made an embed in a command before but for some reason it’s not working. I’ve been comparing it to my other command with the embed but I don’t see why it won’t work. Help is appreciated.

Here’s my project: https://glitch.com/~smeargle-bot

Nvm, it was a spelling mistake in the .setTitle

Use: if (command === ‘help’) {
let sicon = bot.user.displayAvatarURL;
const hembed = new discord.RichEmbed()

.setDescription(‘Help’)
.setTitle(“Help!”)
.setColor(#15f153)
.setThumbnail(sicon)
.addField(“Fun”,“Content of this field”,true)
.addField(“Utility”,“Content”,true)
.addField(“Anime”,“Content”,true);

msg.channel.send(“See your DM!”);
msg.author.send({hembed});

}

Hello!

I was checking your code and i realized there is a typo in the code! What a shame!
I suggest you to check your spelling every time and use a developing program to auto check your spelling(suggested: Atom)

Here is the fixed code:

if (command === ‘help’) {
let sicon = bot.user.displayAvatarURL;
const hembed = new discord.RichEmbed()
.setDescription(‘Help’)
.setTitle(“Help!”)
.setColor(“#15f153”)
.setThumbnail(sicon)
.addField(“Fun”)
.addField(“Utility”)
.addField(“Anime”);
return msg.author.send(hembed);
}

After checking your post i see that you fixed your issue in the same day, and im writing this for nothing probably.

Anyways, good codings!