mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Added setting of channel topics
This commit is contained in:
@@ -30,6 +30,10 @@ mybot.on("message", function (message) {
|
||||
|
||||
mybot.on("ready", function () {
|
||||
console.log("im ready");
|
||||
|
||||
for(var chann of mybot.channels){
|
||||
mybot.setTopic(chann, "HELLO I AM A BOT BOOP BOOP");
|
||||
}
|
||||
});
|
||||
|
||||
mybot.on("debug", function(info){
|
||||
|
||||
Reference in New Issue
Block a user