mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
edited out edit listener
This commit is contained in:
parent
d3d4c68b5e
commit
6a9905308f
1 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ hydrabot.on("messageDelete", function(message){
|
|||
})
|
||||
|
||||
hydrabot.on("messageUpdate", function(former, edit){
|
||||
|
||||
/*
|
||||
if(former){
|
||||
|
||||
if(former.author.equals(this.user) || former.content === edit.content){
|
||||
|
|
@ -77,7 +77,7 @@ hydrabot.on("messageUpdate", function(former, edit){
|
|||
hydrabot.sendMessage(channel, "**"+former.author.username + "** (edit from message "+seconds+" seconds ago):\n " + former.content);
|
||||
|
||||
}
|
||||
|
||||
*/
|
||||
})
|
||||
|
||||
hydrabot.on( "message", function( message ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue