Method GetOrderedChannels
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetOrderedChannels()
Gets an ordered DiscordChannel list out of the channel cache. Returns a Dictionary where the key is an ulong and can be mapped to CategoryDiscordChannels. Ignore the 0 key here, because that indicates that this is the "has no category" list. Each value contains a ordered list of text/news and voice/stage channels as DiscordChannel.
public Dictionary<ulong, List<DiscordChannel>> GetOrderedChannels()
Returns
- Dictionary<ulong, List<DiscordChannel>>
A ordered list of categories with its channels