I've you're serious about writing a poker bot, you should check out the forums at
http://pokerai.org. I recently started developing a bot and found several useful nuggets of information on the site. Be warned though, everything feels like a hack when writing a poker bot (specifically determining the state of the game from a screenshot ... kind of a pseudo-OCR).
And finally, no, I haven't made any significant income from my bot (as it current only plays preflop on 6-max tables ... I manually takeover after the flop).