save last follower

master
Martin Thielecke 6 months ago
parent ccf4bec8dc
commit 27016874c9
Signed by: mthie
GPG Key ID: D1D25A85C8604DFB
  1. 1
      follower.go

@ -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…
Cancel
Save