Method GetChannelsAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetChannelsAsync()
Gets all the channels this guild has.
public Task<IReadOnlyList<DiscordChannel>> GetChannelsAsync()
Returns
- Task<IReadOnlyList<DiscordChannel>>
A collection of this guild's channels.
Exceptions
- ServerErrorException
Thrown when Discord is unable to process the request.