Online (command) - Holy-Spirit-Scholar-Bowl/buzzer GitHub Wiki
online
is a command sent by the server to clients containing information about the users currently connected. It takes parameters of the following form:
{
"users": {
"user": string,
"points": number
}[],
"teams": {
"team": string,
"points": number,
"users": {
"user": string,
"points": number
}[]
}[]
}
The users
field contains users not in a team. Users in a team are contained in the users
field of their respective team (in the teams
field).