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

189
Views
discordjs v13, comando de acceso solo a una identificación de usuario específica

 if(msg.content.startsWith(prefix + "addbalance") && msg.member.permissions.has("ADMINISTRATOR"))

Necesito ayuda para cambiar el acceso a los comandos del permiso de ADMINISTRADOR a solo mi ID de discordia. Quiero limitar el comando solo si lo uso porque tengo muchos ADMINISTRADORES en mi servidor.

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

0

Puede cambiar la segunda condición en la instrucción if para verificar si la ID del usuario es la suya.

 if (msg.content.startsWith(prefix + "addbalance") && msg.member.id == YOUR_ID))
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!