spacebarchat / spacebarchat/server
Implement Badges array
Open
Nobody has claimed this yet.
Enhancement
Module: API
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 323
- Avg merge
- 14h 48m
- Merged PRs (30d)
- 4
Description
user profiles on Discord now have a badges array which are used instead to display badges in the client.
{
"badges": [
{
"description": "Discord Staff",
"icon": "5e74e9b61934fc1f67c65515d1f7e60d",
"id": "staff",
"link": "https://discord.com/company"
}
],
"guild_badges": [] // per guild badges?
}
This could also be used for custom badges.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TypeScript user-profile response model and the code that serializes profile data; compare its output with the badges example in the issue. Define and expose the badges array, then add focused coverage to verify its shape and confirm existing profile responses remain valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100