C++ chat bot for RetroShare using the RPC interface