Answer the question
In order to leave comments, you need to log in
How to send a message along with embed?
Hello, when a user connects to the Discord server, I send embed and tag the user, but the tag is a separate message and embed is a different message. I saw in other servers that you can make 1 message, do not tell me how?
Here is the code:
robot.on('guildMemberAdd', member => {
let embed = new Discord.MessageEmbed()
.setTitle(`Name`) // в тайтле имя автора
.setThumbnail("Avatar ")
embed.setDescription("text")
.setColor('#00BDFF')
robot.channels.cache.get("803373673154740276").send('<@' + member.user.id + '>');
robot.channels.cache.get("803373673154740276").send(embed);
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question