Skip to content

Conversation

@goatslacker
Copy link
Member

No description provided.

@goatslacker goatslacker requested a review from a team as a code owner April 15, 2025 21:40
|----------|---------------|----------------------------------------------|
| match | string | null | unique hash for the given match context |
| join | string | null | unique hash for chat invites and Ask to Join |
| spectate | string | null | unique hash for Spectate button |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the | character here as an "or" ends up breaking the table and we lose the descriptions. This happened in each of the tables where this change was made. I think you could do string?, or, or \| to escape it as a few options.

Screenshot 2025-04-15 at 4 34 02 PM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we use string? to denote a nullable string

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

advaith is always right

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, made the fix here: 85d07ad

@anthonydiscord anthonydiscord self-requested a review April 16, 2025 18:37
@goatslacker goatslacker force-pushed the goatslacker/rp-optional-fields branch from 85d07ad to bc136b2 Compare April 16, 2025 18:46
@goatslacker goatslacker merged commit aa79300 into main Apr 16, 2025
4 checks passed
@goatslacker goatslacker deleted the goatslacker/rp-optional-fields branch April 16, 2025 19:18
mazylol pushed a commit to mazylol/discord-api-docs that referenced this pull request Jul 3, 2025
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.

5 participants