Inheritance: SqlRow, TwitchAlert
Exemplo n.º 1
0
 public static SqlTwitchFollower[] GetNewFollowers(SqlTwitchAlert alerts)
 {
     try {
         if(newFollowersThrottle.ExecuteIfReady(alerts.connection.channel.user.id)) {
             TwitchApi.UpdateNewFollowers(alerts.connection, 25, 0);
         }
         return SqlTwitchFollower.GetNew(alerts);
     } catch(Exception e) {
         Log.error("Twitch get new followers", e);
         return null;
     }
 }
Exemplo n.º 2
0
 public TwitchAlert FromGuid(string value)
 {
     return(SqlTwitchAlert.FromGuid(value));
 }