22 lines
281 B
Go

package main
import (
"github.com/animenotifier/arn"
)
func main() {
defer arn.Node.Close()
for user := range arn.StreamUsers() {
settings := user.Settings()
if user.IsPro() {
settings.Theme = "dark"
} else {
settings.Theme = "light"
}
settings.Save()
}
}