Instance Method

getGuild(_:rest:then:)

Either get a cached guild or restfully get a guild

Declaration

func getGuild(_ guildId: Snowflake, rest: Bool = false, then completion: @escaping (Guild?, RequestError?) -> Void)

Parameters

guildId

Guild to get

rest

Whether or not to get this guild restfully or not