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

RemScore Command #5

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

RemScore Command #5

Lightseypoo opened this issue Jul 22, 2020 · 3 comments

Comments

@Lightseypoo
Copy link
Member

RemScore [game] [id]

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

data: {
    "game": [gamecode],
    "id": [id]
}
@abraker95
Copy link
Collaborator

What does this command supposed to do?

@Lightseypoo
Copy link
Member Author

Lightseypoo commented Jul 24, 2020

remove a score, the counterpart to AddScore. its an administration command. all the bot needs to do it send a simple request with gamecode and score id (inside of the global wrapper object that all requests must have), the server does the rest.

@abraker95
Copy link
Collaborator

Command syntax
>>rmvscore [required:gid] [required:sid]

Usage example
>>rmvscore -gid 2 -sid 2322

Description:
Removes a score in db

arg1: gid

  • id of the game to remove the score for

arg2: sid

  • id of the score to remove

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