mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Fixed evaluation and added basic deletion following
This commit is contained in:
@@ -9,10 +9,6 @@ counter = 1;
|
||||
mybot.on("message", function (message) {
|
||||
|
||||
console.log("Everyone mentioned? " + message.everyoneMentioned);
|
||||
if (mybot.user.equals(message.sender)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (message.content !== "$$$") {
|
||||
return;
|
||||
}
|
||||
@@ -44,8 +40,6 @@ mybot.on("unknown", function(info){
|
||||
|
||||
mybot.on("channelUpdate", function(oldChan, newChan){
|
||||
|
||||
console.log(oldChan.topic + " vs " + newChan.topic);
|
||||
|
||||
});
|
||||
|
||||
mybot.on("startTyping", function(user, channel){
|
||||
|
||||
Reference in New Issue
Block a user