/* * Chat events */ public void OnChatServer(string channel, string flags, string text) { var message = new Message { Channel = channel, Flags = flags, Text = text, Type = MessageType.Server, Time = DateTime.UtcNow }; _server.AddMessage(message); }