Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: added a note to setting_status for guild cache #955

Merged
merged 3 commits into from
Oct 20, 2023

Conversation

Jaskowicz1
Copy link
Contributor

This PR adds a note to setting_status.md about the guild cache, telling people how they can still display a guild count without the guild cache on (if they wish to do so). I'm not entirely sure if you can safely call the two methods I provided every 120 seconds without getting rate-limited, so if there's a better method then please do say!

Documentation change checklist

  • My documentation changes follow the same style as the rest of the documentation and any examples follow the coding style guide.
  • I tested that my change works before raising the PR (via running doxygen, and testing examples).
  • I have not moved any existing pages or changed any existing URLs without strong justification as to why.
  • I have not generated content using AI or a desktop utility such as grammarly.

@netlify
Copy link

netlify bot commented Oct 19, 2023

Deploy Preview for dpp-dev ready!

Name Link
🔨 Latest commit 1a070ba
🔍 Latest deploy log https://app.netlify.com/sites/dpp-dev/deploys/653240bf80dc3400088c2b69
😎 Deploy Preview https://deploy-preview-955--dpp-dev.netlify.app/setting_status
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Oct 19, 2023
Copy link
Contributor

@braindigitalis braindigitalis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't tell people to call get guilds. the result is huge, and doesn't work if the bot is on over 1000 guilds. it's also heavily rate limited.
application_get_current is the only practical option without cache.

getting application also works without any privileged intents

@braindigitalis braindigitalis merged commit 458ebb4 into brainboxdotcc:dev Oct 20, 2023
10 checks passed
@Jaskowicz1 Jaskowicz1 deleted the editing-status-page branch November 13, 2023 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants