Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
i just used python-libirc, it makes shit pretty simple but it can be slow sometimes. i made a really stripped down version for V4 a while ago that you could check out: http://fusxfaranto.com/uploads/paste/6HFqaTIR.txt
mm v straightforward, the go package i'm targeting has a similar API structure to this
i'd show you what i'm working on but right now there's nothing to see except documentation lol. ain't no time for code until finals season is over unfortunately