Centralize Discord control setup#46
Open
gholtzap wants to merge 17 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This change prepares Hydra's Discord control flow for a centralized Discord app and relay setup.
/hydra linkcannot cross into the desktop command channel./hydra linkinstead of manually copying server and channel IDs./hydra link./hydra tail linesoption in the centralized Discord command path.npm run discord:sync:centralizedhelper for syncing the deployed official slash commands.Validation
npm exec --prefix auth-server -- tsc -p auth-server/tsconfig.json --noEmitnpm run buildgit diff --checknpm --prefix auth-server run d1:migrate:localnode scripts/sync-discord-commands.mjs --helpnode scripts/sync-discord-commands.mjs(guard refusal)npm --prefix auth-server run --silent d1:migrate:remote(guard refusal)npm --prefix auth-server run --silent deploy(guard refusal)npm exec --prefix auth-server -- wrangler deploy --dry-run --config auth-server/wrangler.toml(validated Worker config and bindings; Wrangler log-file warning is sandbox-only)CIsuccess on headd5264d9c7a75e41086f2dcd664b4e62ee3e3a5a9CodeQLsuccess on headd5264d9c7a75e41086f2dcd664b4e62ee3e3a5a9