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

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