20 lines
244 B
Go
Raw Normal View History

2017-11-17 11:51:08 +00:00
package main
import (
"github.com/animenotifier/arn"
)
func main() {
defer arn.Node.Close()
for user := range arn.StreamUsers() {
settings := user.Settings()
2018-03-08 18:09:35 +00:00
if !user.IsPro() {
2017-11-17 11:51:08 +00:00
settings.Theme = "light"
}
settings.Save()
}
}