Instance Method

getMembers(from:with:then:)

Gets an array of guild members in a guild

Declaration

func getMembers(from guildId: Snowflake, with options: [String : Any]? = nil, then completion: @escaping ([Member]?, RequestError?) -> Void)

Parameters

guildId

Guild to get members from

options

Dictionary containing optional optiond regarding what members are returned

Option Params

  • limit: Amount of members to get (1-1000)

  • after: Message Id of highest member to get members from