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

266
Views
Discord.js v13 mention a role but it doesn't ping

I have been trying to get my bot to ping a certain role by doing.

client.channels.cache.get('927271117155074158').send(`<@&924403524027154513> nota is ${statestart}`)

And it will show the role like this how it shows in discord.

But it doesn't actualy ping the role.

How do i ping the role?

I am using Discord.js V13

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

0

I figured it out. I didn't know i had to allow role mentioning in the client

        super({ intents, allowedMentions: { parse: ['roles'], repliedUser: false } });
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!