Skip to content

feat(discord): add custom id routes that re-run commands - #1087

Open
ugcodrr wants to merge 5 commits into
mainfrom
feat/component-routes
Open

ugcodrr wants to merge 5 commits into
mainfrom
feat/component-routes

Conversation

@ugcodrr

@ugcodrr ugcodrr commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Description: Buttons, select menus and modals only live in memory, so they stop working after 5 minutes, or after the daily restart or a deploy.

  1. A route re-runs the command when its button is clicked. The user who ran it gets their message edited, and anyone else gets a preview only they can see, like before.
  2. Re-run replies are cached for 5 minutes, so going back to a page doesn't fetch or render it again.

Testing: Nothing uses a route yet. #1088 and the PRs stacked on it move profiles, leaderboards, guild top, rankings and the other paged commands onto it.

Conflicts with #933 and #983.

@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

@vercel

vercel Bot commented Nov 2, 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 Nov 2, 2026 3:09am UTC

@vercel

vercel Bot commented Nov 3, 2026

Copy link
Copy Markdown

Deployment failed for project statsify with the following error:

Too many requests - try again in 5 minutes (more than 60, code: "api-deployments-flood").

Learn More: https://vercel.com/docs/limits#rate-limits

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