public Streamer(Action <Message> callback) { this.callback = callback; string username = Program.config.username; string access_token = Program.config.access_token; string channel = username; //Yeah lets not allow that string clientid = Program.config.clientid; if (username == null || access_token == null || clientid == null) { throw new Exception("Streamer config entry missing!"); } bot = new Bot(username, access_token, channel); monitor = new LiveMonitor(clientid, access_token, channel); Console.WriteLine("started them"); bot.parent = this; monitor.parent = this; }
public LiveMonitorCmds(LiveMonitor monitor) { _monitor = monitor; }