mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
more channel features
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user