Nicely done!
I have a small idea you could incorporate. Now I'm not an expert, nor have I used PHP in years; that being said: is it possible you could implement a feature using basic json parsing that's already readily available in PHP to do what I did in C# (For those who stream WoW)
That is it's a small !wow command to fetch and return character information as well as a TinyURL armory link. I'm not pasting this to show off by any means, I just figure it could be useful for your bot since I haven't even touched mine in almost 4 months.
Source:
[C#] Simple WoW Character Information (JObjects) - Pastebin.com