I need help to make the messages personal in a Discord channel for newcome

I am facing an issue where I am unable to send a personal message to new users on my Discord server. I want the message to look like it does in the second screenshot, rather than the way it appears in the third screenshot. Attached is the source code related to this problem: //Тикет client.on('guildMemberAdd', async (member) => { // Упоминание нового участника в канале для заявок const applicationChannel = member.guild.channels.cache.find(channel => channel.id === '1286402427616235540'); // Замените '1286402427616235540' на реальный ID канала
if (applicationChannel) { const applicationEmbed = new EmbedBuilder() .setColor('#00ff00') .setTitle('Новий учасник') .setDescription(Ласкаво просимо, <@${member.user.id}>! Давайте зробимо перші кроки на вхід до нашого серверу! \n\nОсь тут залишайте свої заявки у тікеті і по цій формі.) .setTimestamp();
await applicationChannel.send({ embeds: [applicationEmbed] }); // Отправка в канал } else { console.log('Канал для заявок не найден'); } });
No description
No description
No description
2 Replies
d.js toolkit
d.js toolkit5w ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
Kinect3000
Kinect30005w ago
That’s not possible in ur situation Ephemeral messages are only available via interactions
Want results from more Discord servers?
Add your server