func GetCurrentUserGuilds(client httd.Getter, params *GetCurrentUserGuildsParams) (ret []*Guild, err error) {
	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitUsers(),
		Endpoint:    endpoint.UserMeGuilds() + params.GetQueryString(),
	})
	if err != nil {
		return
	}

	err = unmarshal(body, &ret)
	return
}
// GetCurrentUserGuilds [GET]   Returns a list of partial guild objects the current user is a member of.
//                              Requires the guilds OAuth2 scope.
// Endpoint                     /users/@me/guilds
// Rate limiter                 /users TODO: is this correct?
// Discord documentation        https://discordapp.com/developers/docs/resources/user#get-current-user-guilds
// Reviewed                     2018-06-10
// Comment                      This endpoint. returns 100 guilds by default, which is the maximum number of
//                              guilds a non-bot user can join. Therefore, pagination is not needed for
//                              integrations that need to get a list of users' guilds.
GetCurrentUserGuilds [GET]   Returns a list of partial guild objects the current user is a member of.
Requires the guilds OAuth2 scope.
Endpoint                     /users/@me/guilds
Rate limiter                 /users TODO: is this correct.
// GetCurrentUserGuilds [ GET ] Returns a list of partial guild objects the current user is a member of . // Requires the guilds OAuth2 scope . // Endpoint / users / @me / guilds // Rate limiter / users TODO : is this correct? // Discord documentation https : // discordapp . com / developers / docs / resources / user#get - current - user - guilds // Reviewed 2018 - 06 - 10 // Comment This endpoint . returns 100 guilds by default which is the maximum number of // guilds a non - bot user can join . Therefore pagination is not needed for // integrations that need to get a list of users ' guilds .
func GetCurrentUserGuilds(client httd.Getter, params *GetCurrentUserGuildsParams) (ret []*Guild, err error) {
	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitUsers(),
		Endpoint:    endpoint.UserMeGuilds() + params.GetQueryString(),
	})
	if err != nil {
		return
	}
	err = unmarshal(body, &ret)
	return
}
func GetCurrentUserGuilds ( client httd . Getter , params * GetCurrentUserGuildsParams ) ( ret [ ] * Guild , err error ) { _ , body , err := client . Get ( & httd . Request { Ratelimiter : ratelimitUsers ( ) , Endpoint : endpoint . UserMeGuilds ( ) + params . GetQueryString ( ) , } ) if err != nil { return } err = unmarshal ( body , & ret ) return }
GetCurrentUserGuilds [GET]   Returns a list of partial guild objects the current user is a member of.
GetCurrentUserGuilds [ GET ] Returns a list of partial guild objects the current user is a member of .