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
Could you give an example?
Because in case of IGuild.channels would return an Array.
Here is s code snippet where you can see IChannelCollection.toArray() works: client.Dispatcher.on("GATEWAY_READY", e => { console.log(client.Channels.toArray()); });
Your saying IGuild.textChannels is already .toArray() but client.Channels does not toArray() it? I see what your saying. I guess there is no error then in code or documentation.
The documentation says it works but it does not: https://qeled.github.io/discordie/#/docs/IChannelCollection?p=IChannelCollection%23toArray&_k=ba6vso
In fact, IChannelCollection is already an array as I can increment through it with [0], [1], [2], etc... .
edit: This is resolved.
The text was updated successfully, but these errors were encountered: