A nodeJS based implementation of the CurseAPI for bot and third party apps developers. The library is not considered yet to be stable.
If you want to join the project, or just discuss about Curse implementations you can join us in the Curse unofficial API dev server.
(Take this one if you don't know which one to take.)
npm install git://github.com/njibhu/cursejs.git
npm install git://github.com/njibhu/cursejs.git#dev
npm update cursejs
var cursejs = require('cursejs');
var client = new cursejs.Client;
//This is a very basic command handling
client.on('message_received', function(message){
if(message.content === "!ping"){
message.reply("pong!");
}
});
client.run("LOGIN", "PASSWORD");
- NodeJS 4+
ws
librarywinston
library
Usually npm
will handle these for you.