Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
(Closed) Discord bot leave message with author and thumbnail of user

I am trying to make my bot create embed leave messages which is mostly figured out but I'm struggling with author and thumbnail because I want them to have the person who left pfp. I also want to how to set the author user as the person who left but specifically in the format of bot#0001.

client.on('guildMemberRemove', member => {
  let embed = new Discord.MessageEmbed()
    .setColor('#78a6dd')
    .setDescription(`<@${member.user.id}> left`)
});

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try use this code

    client.on("guildMemberRemove", (member) => {
    let goodbyembed = new Discord.MessageEmbed()
.setAuthor(${member.user.tag} + " just left!", member.user.avatarURL())
.setDescription( /* Message here */)
.setColor('#78a6dd');
member.guild.channels.cache.get("samechannelid").send(goodbyembed) 

        .catch((err) => console.log(err));
});
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!