Use ACE for badge queries

Seems ok this area is up to @sam.

「いいね!」 2