public static void StartSubreddit(string sub, string order, int count) { if (order.ToLower().Equals("top") || order.ToLower().Equals("hot") || order.ToLower().Equals("new")) { try { RedditConsumer.AddTask(new RedditTask(sub, order, count)); RedditConsumer.Consume(); } catch (Exception ex) { } } }
public static void StartMacro(int macro) { if (macro == 1) { RedditConsumer.Macro1(); } if (macro == 0) { RedditConsumer.Macro0(); } if (macro == 23) { RedditConsumer.Macro23(); } }