mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
added setPlaying and now working on docs
This commit is contained in:
@@ -4,6 +4,8 @@ var fs = require("fs");
|
||||
|
||||
var server, channel, message, sentMessage = false;
|
||||
|
||||
counter = 1;
|
||||
|
||||
mybot.on("message", function (message) {
|
||||
|
||||
console.log("Everyone mentioned? " + message.everyoneMentioned);
|
||||
@@ -19,16 +21,14 @@ mybot.on("message", function (message) {
|
||||
|
||||
var onlineUsers = 0;
|
||||
|
||||
mybot.startTyping(message.channel, 6000);
|
||||
counter++;
|
||||
|
||||
mybot.playingGame( "Minecraft" );
|
||||
|
||||
});
|
||||
|
||||
mybot.on("ready", function () {
|
||||
console.log("im ready");
|
||||
|
||||
for(var chann of mybot.channels){
|
||||
mybot.setTopic(chann, "THINGS");
|
||||
}
|
||||
});
|
||||
|
||||
mybot.on("debug", function(info){
|
||||
|
||||
Reference in New Issue
Block a user