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

187
Views
Why my bot isn't pinging the user when mentioned in v13?

I'm sending a message and it shows up in the channel, but I don't get the red ping notification even though I'm being mentioned. This is my code

await message.guild["channels"].cache
  .get(<SOME_ID>)
  .send({
    allowedMentions: { repliedUser: true },
    content: `Welcome <@${message.author.id}> this is your channel`
  });

Why wouldn't I get notified?

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

0

Just had to add allowedMentions: { users: [message.author.id]}

The final code would be:

await message.guild["channels"].cache
  .get(<SOME_ID>)
  .send({
    allowedMentions: { users: [message.author.id], repliedUser: true },
    content: `Welcome <@${message.author.id}> this is your channel`
  });

This pings the given user.

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!