Skip to content

Clarify accepted challenge decline reasons - #671

Merged
fitztrev merged 1 commit into
lichess-org:masterfrom
philyawj:clarify-challenge-decline-reasons
Sep 8, 2026
Merged

Clarify accepted challenge decline reasons#671
fitztrev merged 1 commit into
lichess-org:masterfrom
philyawj:clarify-challenge-decline-reasons

Conversation

@philyawj

@philyawj philyawj commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Clarify that the challenge decline endpoint only accepts the listed enum values and falls back to generic for unsupported values. This also removes the misleading link suggesting that every translation key is accepted.

Closes #595.

Tests:

  • pnpm check-format
  • pnpm spectral
  • pnpm lint

AI disclosure: Codex helped investigate the server behavior and draft the documentation change. I reviewed and directed the work throughout as the human in the loop.

@fitztrev
fitztrev merged commit b651a33 into lichess-org:master Sep 8, 2026
6 checks passed
@philyawj
philyawj deleted the clarify-challenge-decline-reasons branch September 8, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decline a challenge for rating difference

2 participants