Collection

How can i read a collection to get an value?
5 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Bokuto
BokutoOP2y ago
with this: message.guild.channels.cache.get(message.member.voice.channelId).members i get an collection of the members connected. Collection(1) [Map] { but how can i read a collection?
Bokuto
BokutoOP2y ago
Coleções chaveadas - JavaScript | MDN
Este capítulo apresenta coleções de dados que são ordenados por uma chave; Objetos Map e Set contêm elementos que são iteráveis em ordem de inserção.
Bokuto
BokutoOP2y ago
and yet i cant figure out and by how can i read i mean, i wanna get for example one user for each collection but im not sure how to do it even with foreach
d.js docs
d.js docs2y ago
Suggestion for @bokutohey:guide Additional Information: Collections read more
Want results from more Discord servers?
Add your server