19 lines
313 B
Go
Raw Normal View History

2020-02-22 08:07:47 +00:00
package filtercharacters
import (
"github.com/aerogo/aero"
"github.com/animenotifier/notify.moe/arn"
)
// NoImage ...
func NoImage(ctx aero.Context) error {
return characterList(
ctx,
"Characters without an image",
func(character *arn.Character) bool {
return !character.HasImage()
},
nil,
)
}