Instance Method

getUser(_:then:)

Either get a cached user or restfully get a user

Declaration

func getUser(_ userId: Snowflake, then completion: @escaping (User?, RequestError?) -> Void)

Parameters

userId

User to get