Table of Contents

Method GetChannelsAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.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.