WaifuHarem / discord-bot

Discord bot that uses OCR to capture data in results screens
0 stars 0 forks source link

RemScore Command #5

Open Lightseypoo opened 4 years ago

Lightseypoo commented 4 years ago

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 commented 4 years ago

What does this command supposed to do?

Lightseypoo commented 4 years ago

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 commented 4 years ago

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

Usage example >>rmvscore -gid 2 -sid 2322

Description: Removes a score in db

arg1: gid

arg2: sid