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() {
|
func (f *TwitchFollowers) SaveFiles() {
|
||||||
saveContent("followers", "total", strconv.FormatInt(f.Total, 10))
|
saveContent("followers", "total", strconv.FormatInt(f.Total, 10))
|
||||||
|
saveContent("followers", "last_follower", f.Data[0].FromName)
|
||||||
saveJSON("followers", "complete_list", f)
|
saveJSON("followers", "complete_list", f)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Reference in New Issue
Block a user