2018-03-03 22:37:30 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
2019-06-03 09:32:43 +00:00
|
|
|
"github.com/animenotifier/notify.moe/arn"
|
2018-03-03 22:37:30 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
defer arn.Node.Close()
|
|
|
|
|
|
|
|
for user := range arn.StreamUsers() {
|
2018-03-04 14:43:00 +00:00
|
|
|
if user.Notifications().CountUnseen() <= 10 && !user.IsActive() && user.Email != "" && len(user.AnimeList().Items) == 0 {
|
2018-03-03 22:37:30 +00:00
|
|
|
fmt.Println(user.Email)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|