alaingilbert/Turntable-API — Issue #14: When switching chat servers, bot should send disconnect
Author: nmalaguti
Created: 2011-12-02 20:41:50+00:00
State: open

I had an issue when porting the bot to C# (this may only happen with newer websocket protocol drafts). If you have a bot that can switch between rooms without shutting down and starting up, it is important to send turntable the disconnect command so that they know to disconnect the current connection and not a new one on a different chat server.

Before after deregistering from the room, send: ~m~10~m~disconnect

This will cause the server to close its connection with the client so you can connect to a different chat server for a different room.