WaifuHarem / discord-bot

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

Deregister Command #8

Open Lightseypoo opened 4 years ago

Lightseypoo commented 4 years ago

Deregister [discordID] [...options]

available options: -b = ban flag, if set, all of the users' scores will be removed from the leaderboards -g = game flag, if set you must specify the name of the game you wish to deregister the target on. if not set, the deregistration will be applied globally.

Deregister 83682582494973952 -b -g osumania

see https://github.com/abraker95/game-leaderboards-bot/issues/6 for a key to resolve gamename to gamecode for the request

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

data: {
    "id": [discordID],
    "ban": boolean,
    "game": 0 or [gamecode]
}
abraker95 commented 4 years ago

Command syntax >>unreg [required:did] [optional:b] [optional:g]

Usage example >>unreg -did 83682582494973952 -b -g osu

Description: Unregistered a user

arg1: did

arg2: b

arg3: g