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; } }
public TwitchAlert FromGuid(string value) { return(SqlTwitchAlert.FromGuid(value)); }