TOKEN- gets a new tokenNAME <name>- Sets the user's nameMIGRATE <token>- migrate the current user to use the id and name contained in the token
JOIN <room>- join a roomLEAVE <room>- leave the current roomTOPIC <topic>- set the room's topic
Messages come in response to commands executed by the client. They can be relayed directly to the client.
INFO <message>- just some infoEVENT <message>- any eventSUCCESS <message>- normal responseWARNING <message>- a warningERROR <message>- error from previous command
ID <id>NAME <name>TOKEN <token>- gives the user a new token
ROOM <room>- The room the user is now in. Undefined or empty value for room indicates the user is not in a roomCHAT <id> <name> <message>- new chat in the room