Skip to content

Commit

Permalink
fix: increase limit to 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
myrkvi committed Nov 16, 2024
1 parent d56ee21 commit 9cce975
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 9cce975

Please sign in to comment.