Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register Command #6

Open
Lightseypoo opened this issue Jul 22, 2020 · 2 comments
Open

Register Command #6

Lightseypoo opened this issue Jul 22, 2020 · 2 comments

Comments

@Lightseypoo
Copy link
Member

Lightseypoo commented Jul 22, 2020

Register [discordID] [game] [ign] [profileurl]
Ingame Name is cAsE sEnSeTiVe.

discordid - discord userid of the user being registered
game - name of the game being registered for. not case sensitive. [osu / osu!mania / mania], [Etterna], [Quaver], [FFR / flashflashrevolution], [robeats, rcs].
ign - ingame username being registered to the user for the specified game.
profileurl - valid link to the online profile of the user for the game in question

Register 223180420114546690 etterna Lights https://etternaonline.com/user/Lights

on converting from Game name (string) to Game code (int):

0 = NA / All
1 = etterna
2 = osumania
3 = ffr
4 = quaver
5 = robeats

Format a request to the server with opcode 6 containing a data member defined as such:

data: {
    "userid": [discordID],
    "game": [gamecode],
    "username": [ign],
    "profileurl": [url]
}
@abraker95
Copy link
Collaborator

abraker95 commented Jul 24, 2020

Consider splitting this up into multiple issues, one issue per command

@Lightseypoo Lightseypoo changed the title Register / Deregister / Ban User Register Command Jul 24, 2020
@abraker95
Copy link
Collaborator

Command syntax
>>reg [required:did] [required:game] [required:ign] [required:profile]

Usage example
>>reg -did 223180420114546690 -game etterna -ign Lights -profile https://etternaonline.com/user/Lights

Description:
Registers a user for a game

arg1: did

  • User's discord id

arg2: game

  • Game to register the user for

arg3: ign

  • User's ingame name. Case sensitive.

arg4: profile

  • valid link to user's profile page

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

No branches or pull requests

2 participants