Skip to content

@zikeji/hypixel / getSkyBlockProfileMemberCollections

Function: getSkyBlockProfileMemberCollections()

getSkyBlockProfileMemberCollections(profile, collections): false | SkyBlockProfileCollections

This helper takes a profile and scans all of it's member's to get the most accurate collection information possible. Returns false is none of the members of the profile had their collections API enabled.

Parameters

profile

Pick<NonNullable<SkyBlockProfile>, "members">

The SkyBlock profile object you want to check.

collections

object & object & object

The collections resource object.

Returns

false | SkyBlockProfileCollections

Released under the MIT License.