Answer the question
In order to leave comments, you need to log in
How to make an embed with input text?
I would like to embed with the text that the user enters in the discord in JavaScript.
Answer the question
In order to leave comments, you need to log in
args = message.content.split(' ');
args.shift();
args = args.join(' ');
const text = new Discord.MessageEmbed()
.setColor('#fff')
.addField('Ваше сообщение:', args)
if (message.content ===`!embed ${args}`) {
message.channel.send(text)
}
npm list discord.js
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question