Skip to content

feat(discord-bot): say when stats are cached because Hypixel is busy - #988

Open
ugcodrr wants to merge 10 commits into
fix/hypixel-429-pausefrom
feat/hypixel-busy-notice
Open

ugcodrr wants to merge 10 commits into
fix/hypixel-429-pausefrom
feat/hypixel-busy-notice

Conversation

@ugcodrr

@ugcodrr ugcodrr commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Description: When the API fell back to cached stats because Hypixel was busy, the bot showed them as if they were live.

  1. The notice shows on every gamemode profile, /quests, /ratios, /events, /rankings, /guild and /session, and stays while you switch pages.
  2. It takes the slot a random tip would use on that reply.
  3. The 2 minute player and 10 minute guild cache times move into the api-client, so the age shown matches what the API caches.

Conflicts with #997.

Testing: with hypixelApi.timeout set to 1, /bedwars for a player cached over 2 minutes ago says "Hypixel is busy right now, so these stats are from 2 minutes ago."

Depends on #1044

@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
statsify Ignored Ignored Preview Nov 5, 2026 8:19am UTC

@ugcodrr
ugcodrr force-pushed the feat/hypixel-busy-notice branch from 701f49f to 7e8d63b Compare November 2, 2026 00:24
@vercel

vercel Bot commented Nov 2, 2026

Copy link
Copy Markdown

Deployment failed for project statsify with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/statsify-net?upgradeToPro=build-rate-limit

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant