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.
This is really only a library in the literal sense, because the only thing you get to do is call a bot-making function on a configuration. But this configuration can contain any number of triggers (similar to the ruby bot), which are pluginey things that will react to messages received from the...