o/
Yay for finally starting this out. As the name might (or might not) suggest, this Gist is intended at offering a quick rundown on the more important commands that're used by Bots.
The ones in /commands
are already pretty-well covered in /help
, so I'll skip these.
/cmd userdetails (user)
: Returns a |queryresponse|userdetails|JSON
response, which contains the public data about a certain user.
/cmd roominfo (room)
: Returns a |queryresponse|roominfo|JSON
response, which contains the public data about a certain room. For modjoined rooms, returns a {"id":roomid,"error":"not found or access denied"}
in the JSON. The room may also be in the form of a tier (gen82v2doubles, for example), in which case the return value will be the list of all ongoing public games in that tier.