Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter out non-guilds when fetching rest guilds (kordlib#301)
This is a side-effect from the system we currently employ when it comes to creating channels. Unknown channels are instantiated as an anonymous channel without hierarchy. While we could assume it is a guild channel, it's not in actuality. So the solution, as we did with cache, is to filter out channels that don't inherit the hierarchy.
- Loading branch information