20 lines
244 B
Go
20 lines
244 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 = "light"
|
|
}
|
|
|
|
settings.Save()
|
|
}
|
|
}
|