Instance Method

getChannels(from:rest:then:)

Either get cached channels from guild

Declaration

func getChannels(from guildId: Snowflake, rest: Bool = false, then completion: @escaping ([GuildChannel]?, RequestError?) -> Void)

Parameters

guildId

Guild to get channels from