19 lines
296 B
Go
Raw Normal View History

2018-10-31 00:40:55 +00:00
package main
import (
"github.com/animenotifier/arn"
"github.com/fatih/color"
)
func main() {
color.Yellow("Setting tagline as user intro")
defer color.Green("Finished.")
defer arn.Node.Close()
for user := range arn.StreamUsers() {
user.Introduction = user.Tagline
user.Save()
}
}