RealDevSquad / RealDevSquad/website-backend

Create a discord related api that will change servername of the user in rds server

Open
#1,083 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Issue

We need to create an API that will call cloudflare worker with proper data to change their server nickname

Description
  • Call the patch /guild/member
  • pass the body { discordId: user-discord-id-as-string, userName: rds-username-as-string}
  • an auth header similar to other apis that call the discord handler

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the existing APIs that call the Discord handler and trace their route, authentication header, and Cloudflare Worker request pattern. Add the API for PATCH /guild/member with the specified discordId and userName strings, then verify it sends the expected authenticated request.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.