more channel features

This commit is contained in:
hydrabolt
2015-11-06 20:36:35 +00:00
parent 48616c4505
commit ac3608feb4
6 changed files with 240 additions and 8 deletions

View File

@@ -8,9 +8,7 @@ a.on("warn", (m) => console.log("[warn]", m));
var start = Date.now();
a.on("message", m => {
if(m.content === "$$$"){
a.internal.overwritePermissions(m.channel, m.author, {
manageRoles : true
}).catch(error).then(()=>console.log("hihihihihi!"));
a.internal.setTopic(m.channel, "a channel topic!");
}
});
a.on("userTypingStart", (user, chan) => {