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

698
Views
Error "[BITFIELD_INVALID]: Indicador o número de campo de bits no válido: indefinido" en discord.js

Estoy recibiendo este error:

 [BITFIELD_INVALID]: Invalid bitfield flag or number: undefined

Código:

 const client = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES, Intents.GUILD_VOICE_STATES] });
about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

Respuesta de Zsolt Meszaros

Debería ser Intents.FLAGS.GUILD_VOICE_STATES en lugar de Intents.GUILDS_VOICE_STATE .

También puede establecer Intents a través de cadenas en lugar del objeto Intents.FLAGS .

 const client = new Client({ intents: ["GUILDS", "GUILD_MESSAGES", "GUILD_VOICE_STATES"] });
about 4 years ago · Santiago Gelvez 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!