20 lines
255 B
Go
Raw Normal View History

2017-11-17 11:51:08 +00:00
package main
import (
2019-06-03 09:32:43 +00:00
"github.com/animenotifier/notify.moe/arn"
2017-11-17 11:51:08 +00:00
)
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()
}
}