From 3feec69df096a9bb9a563e223d4acdedfb80ffa8 Mon Sep 17 00:00:00 2001 From: MallocNull Date: Sun, 19 Oct 2014 16:09:33 -0500 Subject: [PATCH] opk ok ok ok ok ok o ko k o o ko kop jklsdsd --- bot/bot/Chat.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bot/bot/Chat.cs b/bot/bot/Chat.cs index fccfac8..8f3a36f 100644 --- a/bot/bot/Chat.cs +++ b/bot/bot/Chat.cs @@ -28,12 +28,6 @@ namespace bot { break; } catch(Exception shoehorn) {} } - List chatdata = d.FindElement(By.Id("chatList")).FindElements(By.TagName("div")).ToList(); - messageDivSize = chatdata.Count; - foreach(IWebElement we in chatdata) { - if(Int32.Parse(we.GetAttribute("id").Substring(we.GetAttribute("id").LastIndexOf('_') + 1)) > currentMessage) - currentMessage = Int32.Parse(we.GetAttribute("id").Substring(we.GetAttribute("id").LastIndexOf('_') + 1)); - } if(d.FindElement(By.Id("audioButton")).GetAttribute("class").ToLower() == "button") d.FindElement(By.Id("audioButton")).Click(); }