save last follower
This commit is contained in:
parent
ccf4bec8dc
commit
27016874c9
|
@ -80,6 +80,7 @@ func getFollows(u *User, max int) {
|
|||
|
||||
func (f *TwitchFollowers) SaveFiles() {
|
||||
saveContent("followers", "total", strconv.FormatInt(f.Total, 10))
|
||||
saveContent("followers", "last_follower", f.Data[0].FromName)
|
||||
saveJSON("followers", "complete_list", f)
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue