2018-11-01 03:28:45 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/animenotifier/arn"
|
2019-03-30 06:39:40 +00:00
|
|
|
"github.com/blitzprog/color"
|
2018-11-01 03:28:45 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
color.Yellow("Refreshing game information")
|
|
|
|
|
|
|
|
defer color.Green("Finished.")
|
|
|
|
defer arn.Node.Close()
|
|
|
|
|
|
|
|
for user := range arn.StreamUsers() {
|
|
|
|
if user.Accounts.Osu.Nick != "" {
|
|
|
|
osu(user)
|
|
|
|
}
|
|
|
|
|
|
|
|
if user.Accounts.Overwatch.BattleTag != "" {
|
|
|
|
overwatch(user)
|
|
|
|
}
|
|
|
|
|
|
|
|
if user.Accounts.FinalFantasyXIV.Nick != "" && user.Accounts.FinalFantasyXIV.Server != "" {
|
|
|
|
ffxiv(user)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|