Пример #1
0
        public BroadcasterInfo(DrakeBot bot, string id, string accessToken)
        {
            ID          = id;
            AccessToken = accessToken;
            follows     = new FollowerService(bot.Service);
            follows.SetChannelsById(new List <string>(new [] { id }));

            follows.OnNewFollowersDetected += bot.Follows_OnNewFollowersDetected;
            follows.Start();
        }
Пример #2
0
 public MainWindow()
 {
     InitializeComponent();
     DrakeBot bot = new DrakeBot();
 }