That would be a bot right there.
The way AFK is coded right now, only keyboard or mouse strokes make you go un-AFK. Having a third-party program input commands for you does not remove AFK. So for a change our badly coding overlords are doing us a favor helping us track down bots.