Instance Method

getUserGuilds(with:then:)

Get’s the current user’s guilds

Declaration

func getUserGuilds(with options: [String : Any]? = nil, then completion: @escaping ([UserGuild]?, RequestError?) -> Void)

Parameters

options

Dictionary containing options regarding what kind of guilds are returned, and amount

Option Params

  • before: Guild Id to get guilds before this one

  • after: Guild Id to get guilds after this one

  • limit: Amount of guilds to return (1-100)