move api state check to it's own clause
move api state check to it's own clause

peppy/osu-new,smoogipoo/osu,ppy/osu,peppy/osu,smoogipooo/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,EVAST9919/osu,ZLima12/osu,johnneijzen/osu,NeoAdonis/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,peppy/osu,UselessToucan/osu