Updated sendMessage and reply, client is eventemitter

This commit is contained in:
hydrabolt
2015-10-27 20:35:23 +00:00
parent 30b96ef5fc
commit a18823c47f
7 changed files with 153 additions and 160 deletions

View File

@@ -11,7 +11,7 @@ function init(){
console.log("preparing...");
}
mybot.on("ready", function(){
mybot.once("ready", function(){
console.log("ready! beginning tests");
success1();
});