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

157
Views
How do I see a certain member's permissions in discord?

I tried this in different ways but I can't find the right one.

{name: `**Permissions:**`, value: `${user.permissions.cache.size}`,inline: false}

It says ".size is undefined" I want to display something like this: Here

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

0

Assuming user is a GuildMember instance, just use .permissions. There is no cache property. This has everything you need to handle a member's permissions

member.permissions.toArray() // all permissions this member has as an array
member.permissions.has("PERMISSION_FLAG") // check if member has a certain permission
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!