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

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