diff --git a/PCRobot/PCRobotForm.cs b/PCRobot/PCRobotForm.cs index ede3330..9a8940e 100644 --- a/PCRobot/PCRobotForm.cs +++ b/PCRobot/PCRobotForm.cs @@ -169,7 +169,7 @@ namespace PCRobot { } } - List userNameList = new List() { "gh_3dfda90e39d6", "gh_7aac992b0363" }; + List userNameList = new List() { "gh_3dfda90e39d6"/*, "gh_7aac992b0363"*/ }; private Dictionary PublicUserCache = new Dictionary(); @@ -179,7 +179,7 @@ namespace PCRobot { while (true) { - Thread.Sleep(1000 * 60 * new Random(Guid.NewGuid().GetHashCode()).Next(8, 12)); + Thread.Sleep(1000 * 60 * new Random(Guid.NewGuid().GetHashCode()).Next(5, 10)); StringBuilder sb = new StringBuilder(); try { @@ -212,7 +212,9 @@ namespace PCRobot var robot = client as Wechat_Xiaoxie; if (robot != null) { - var index = new Random(Guid.NewGuid().GetHashCode()).Next(0, userNameList.Count); + //var index = new Random(Guid.NewGuid().GetHashCode()).Next(0, userNameList.Count); + //var index = new Random(Guid.NewGuid().GetHashCode()).Next(0, userNameList.Count); + var index = 0; var username = userNameList[index]; if (username.StartsWith("gh_", StringComparison.CurrentCultureIgnoreCase))