Answer the question
In order to leave comments, you need to log in
How to mention a user via discord.js in RichEmbed?
Hello.
The user is supposed to be mentioned when sending this embed:
At the output, I get:
Please help me, how to correctly mention the user who sends a message to the bot?
Answer the question
In order to leave comments, you need to log in
message.author
is an object. If you want to get the name of the author, then you need to do this message.author.username
, and if you mention it, then like this"<@" + message.author.id + ">"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question