save last follower

This commit is contained in:
Martin Thielecke 2022-05-20 17:42:33 +02:00
parent ccf4bec8dc
commit 27016874c9
Signed by: mthie
GPG Key ID: D1D25A85C8604DFB

View File

@ -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)
/*