handle chat client commands