Allows you to put your HSR stats on a widget on your Discord profile.
Note that this is entirely vibeslopped vibecoded, no support will be given.
- Create an app + bot at the Developer Portal; copy the Application ID and Bot Token.
- In the portal:
- OAuth2 → Redirects: add
https://discord.com(the bot sends noredirect_uri, so Discord falls back to a registered one; nothing is read from the redirect). - Installation: enable User Install so users can add the commands without inviting the bot to a server.
- OAuth2 → Redirects: add
npm install, thencp .env.example .envand setDISCORD_APP_ID+DISCORD_BOT_TOKEN(no client secret needed).npm start. On first run the bot auto-creates the widget layout on your app and prints your app-add URL (https://discord.com/oauth2/authorize?client_id=<app_id>) — open it to add the app.- (Optional) Upload the custom override art (e.g. Cyrene) so it shows on widgets:
npm run setup-assets— see Custom avatar overrides. /config <uid>— tell the bot your in-game UID. It saves you and pushes immediately.- Authorize only if needed — if that push needs permission, the bot replies with an
authorize link. Click it, approve, and close the window that opens; then run
/refresh. Authorization is requested lazily — only when a push actually fails for lack of permission. It uses the implicit grant (response_type=token), so a single click finalizes the grant — there's no code to paste and nothing to store.
