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

149
Views
GuildChannel no tiene propiedad de miembros

Quiero obtener una lista de usuarios conectados en un canal específico en voiceStateUpdate de esta manera:

 module.exports = async (client, oldState, newState) => { const channel = await newState.guild.channels.fetch('719030671384772609'); }

pero no veo la propiedad de los members al revisar las colecciones,

 'channelid' => <ref *8> VoiceChannel { type: 'GUILD_VOICE', deleted: false, guild: Guild { }, guildId: '', parentId: '', permissionOverwrites: PermissionOverwriteManager { channel: [Circular *8] }, id: '', name: '', rawPosition: 2, rtcRegion: 'hongkong', bitrate: 64000, userLimit: 0 },

¿Me perdí algo aquí? o una forma alternativa?

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

0

Una forma de obtener una lista de todos los usuarios conectados usando algo como esto

 newState.guild.channels.cache.get("channelID here").members

documentos relevantes

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!