20 lines
241 B
Go
Raw Normal View History

2017-10-31 11:12:21 +00:00
package main
import (
"github.com/animenotifier/arn"
)
func main() {
defer arn.Node.Close()
user, _ := arn.GetUserByNick("Akyoto")
if user.Language == ":)" {
user.Language = ":("
} else {
user.Language = ":)"
}
user.Save()
}