mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
added channel deletion monitoring and uptime
This commit is contained in:
@@ -11,7 +11,7 @@ mybot.on("ready", function(){
|
||||
})
|
||||
|
||||
mybot.on("message", function(msg){
|
||||
console.log("Another message by "+msg.author.username+"... now I have "+mybot.messages.length);
|
||||
console.log("Another message by "+msg.author.username+"... now I have "+mybot.messages.length + " I have been online for " + mybot.uptime);
|
||||
})
|
||||
|
||||
mybot.on("messageDelete", function(channel, message){
|
||||
|
||||
Reference in New Issue
Block a user