Added a patch to set basic intros

This commit is contained in:
Eduard Urbach 2018-10-31 09:40:55 +09:00
parent 83159a3951
commit b5f2f4f16b

View File

@ -0,0 +1,18 @@
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()
}
}