You have two options:
- Separate parsing for your own messages and those from other users. Twitch’s web client uses this method
- Separate connections for sending and receiving messages. You’ll see your own messages back if they are on different connections.