19 lines
312 B
Go
Raw Normal View History

2020-11-06 23:24:27 +00:00
package filteranime
import (
"github.com/aerogo/aero"
"github.com/animenotifier/notify.moe/arn"
)
// EpisodeCount ...
func EpisodeCount(ctx aero.Context) error {
return editorList(
ctx,
"Anime without an episode count",
func(anime *arn.Anime) bool {
return anime.EpisodeCount == 0
},
nil,
)
}