Skip to content

Commit

Permalink
fix: increase limit to 1000 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
myrkvi authored Nov 16, 2024
2 parents 8ee614d + 9cce975 commit fbf1c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ type IterResult[T any] struct {
}

func GetMembersIter(r rest.Rest, guildID snowflake.ID) iter.Seq[IterResult[discord.Member]] {
const LIMIT int = 2
const LIMIT int = 1000
memberOffset := snowflake.ID(0)
totalMembers := 0
return func(yield func(IterResult[discord.Member]) bool) {
Expand Down

0 comments on commit fbf1c60

Please sign in to comment.