Skip to content

Fix/Tweak Cache Discord Members to prevent Rate limiting#88

Open
error-reporter-cmd wants to merge 1 commit intoND-Framework:mainfrom
error-reporter-cmd:main
Open

Fix/Tweak Cache Discord Members to prevent Rate limiting#88
error-reporter-cmd wants to merge 1 commit intoND-Framework:mainfrom
error-reporter-cmd:main

Conversation

@error-reporter-cmd
Copy link

this PR Updates server/functions.lua to Download and Cache Discord members
(Currently set to 500 Discord supposedly allows up to 1000)
If user is not in cache it will still check that user just allows Less api usage

Upside's:

  • Less usage of discord api (Especially when group's of people load in at once)

over 500-1000 members should still be able to use the normal method (Haven't been able to test)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments