UpdateLiveFollowers() private method

private UpdateLiveFollowers ( TwitchConnection connection, uint limit, uint offset ) : void
connection TwitchConnection
limit uint
offset uint
return void
コード例 #1
0
ファイル: Twitch.cs プロジェクト: shashankmishra55/HardlyBot
 public TwitchChannel[] GetLiveFollowers(TwitchConnection connection)
 {
     try {
         if (liveFollowersThrottle.ExecuteIfReady(connection.channel.user.id))
         {
             twitchApi.UpdateLiveFollowers(connection, 25, 0);
         }
         return(factory.GetAllLiveFollowers(connection.channel));
     } catch (Exception e) {
         Log.error("Twitch live followers", e);
         return(null);
     }
 }