You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 8, 2022. It is now read-only.
Currently .filter() is a custom implementation that returns a filtered map with the ID being they key. .map() returns an array, consistent with Javascript documentation. Is it possible to implement a function that allows for the Collection to return a map that can return a map with a different key as for instance such as channel.name -> channel etc.
Hi,
Currently
.filter()is a custom implementation that returns a filtered map with the ID being they key..map()returns an array, consistent with Javascript documentation. Is it possible to implement a function that allows for the Collection to return a map that can return a map with a different key as for instance such aschannel.name->channeletc.I wrote and got a reply in the wrong repo about this feature request here discordjs/discord.js#6645