public ViewerCountLogger(WinterBot bot, WinterOptions options) : base(bot) { m_bot = bot; m_options = options; m_http = new HttpManager(options); bot.ViewerCountChanged += bot_ViewerCountChanged; }
public BettingSystem(WinterBot bot, WinterOptions options) { m_options = options; m_bot = bot; Enabled = true; m_http = new HttpManager(options); m_http.GetAsync("points.php", LoadPoints); }
public ViewerCountLogger(WinterBot bot, WinterOptions options) : base(bot) { if (!bot.Channel.Equals("zlfreebird", StringComparison.CurrentCultureIgnoreCase)) return; m_bot = bot; m_options = options; m_http = new HttpManager(options); bot.ViewerCountChanged += bot_ViewerCountChanged; }
public BetterCommands(WinterBot bot, WinterOptions options) : base(bot) { if (bot.Options.ChatOptions.UserCommandsEnabled) return; m_bot = bot; m_options = options; m_bot.UnknownCommandReceived += UnknownCommandReceived; m_http = new HttpManager(options); m_http.GetAsync("api.php", "GETCMDS=1", Load); }
public ChatSaver(WinterBot bot, WinterOptions options) : base(bot) { m_options = options; m_bot = bot; //if (!bot.Channel.Equals("zlfreebird", StringComparison.CurrentCultureIgnoreCase)) // return; m_http = new HttpManager(options); bot.MessageReceived += bot_MessageReceived; bot.ActionReceived += bot_ActionReceived; bot.UserSubscribed += bot_UserSubscribed; bot.ChatClear += bot_ChatClear; bot.UserBanned += bot_UserBanned; bot.UserTimedOut += bot_UserTimedOut; }
public HttpGet(HttpManager http, string url, Action <Stream> callback) { m_http = http; m_url = url; m_callback = callback; }
public HttpGet(HttpManager http, string url, Action<Stream> callback) { m_http = http; m_url = url; m_callback = callback; }
public HttpPost(HttpManager manager, string url, bool compress, StringBuilder data) { m_http = manager; m_url = url; m_compress = compress; m_data = data; }
public ChatSaver(WinterBot bot, WinterOptions options) : base(bot) { m_options = options; m_bot = bot; m_http = new HttpManager(options); bot.MessageReceived += bot_MessageReceived; bot.ActionReceived += bot_ActionReceived; bot.UserSubscribed += bot_UserSubscribed; bot.ChatClear += bot_ChatClear; bot.UserBanned += bot_UserBanned; bot.UserTimedOut += bot_UserTimedOut; }