Fixed typing and added createChannel

This commit is contained in:
hydrabolt
2015-11-02 17:14:04 +00:00
parent 576715f531
commit 25f0408fae
6 changed files with 164 additions and 48 deletions

View File

@@ -8,7 +8,11 @@ a.on("warn", (m) => console.log("[warn]", m));
a.on("message", m => {
if(m.content === "$$$")
a.reply(m, "I have you cached as being " + m.author.status);
a.createChannel(m.channel.server, "quackducks").then( c => {
a.sendMessage(c, "I'm alive!");
} );
});
a.on("userTypingStart", (user, chan) => {
console.log(user.username + " typing");