Change guild limit to 200

This commit is contained in:
rxdn 2021-07-11 17:47:16 +01:00
parent 6a38864321
commit a382edd972
2 changed files with 2 additions and 1 deletions

1
go.mod
View File

@ -18,6 +18,7 @@ require (
github.com/gorilla/sessions v1.2.0 // indirect github.com/gorilla/sessions v1.2.0 // indirect
github.com/gorilla/websocket v1.4.2 github.com/gorilla/websocket v1.4.2
github.com/jackc/pgx/v4 v4.7.1 github.com/jackc/pgx/v4 v4.7.1
github.com/joho/godotenv v1.3.0 // indirect
github.com/pasztorpisti/qs v0.0.0-20171216220353-8d6c33ee906c github.com/pasztorpisti/qs v0.0.0-20171216220353-8d6c33ee906c
github.com/pkg/errors v0.9.1 github.com/pkg/errors v0.9.1
github.com/rxdn/gdl v0.0.0-20210701115435-816eb486d5d0 github.com/rxdn/gdl v0.0.0-20210701115435-816eb486d5d0

View File

@ -11,7 +11,7 @@ func LoadGuilds(accessToken string, userId uint64) error {
authHeader := fmt.Sprintf("Bearer %s", accessToken) authHeader := fmt.Sprintf("Bearer %s", accessToken)
data := rest.CurrentUserGuildsData{ data := rest.CurrentUserGuildsData{
Limit: 100, Limit: 200,
} }
guilds, err := rest.GetCurrentUserGuilds(authHeader, nil, data) guilds, err := rest.GetCurrentUserGuilds(authHeader, nil, data)