Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

restapi structure is different then expected #5

Open
fryguy503 opened this issue Aug 20, 2017 · 0 comments
Open

restapi structure is different then expected #5

fryguy503 opened this issue Aug 20, 2017 · 0 comments

Comments

@fryguy503
Copy link

It looks like https://github.com/bwmarrin/discordgo/blob/master/restapi.go#L395 has been updated and the newer structure is looking for:

// UserGuilds returns an array of UserGuild structures for all guilds.
// limit : The number guilds that can be returned. (max 100)
// beforeID : If provided all guilds returned will be before given ID.
// afterID : If provided all guilds returned will be after given ID.

Fails build due to this requirement. Temporarily rolling back the UserGuilds() function resolves the issue locally.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant