mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 09:13:22 +00:00
commit
16b007c635
2 changed files with 669 additions and 650 deletions
|
|
@ -64,7 +64,7 @@ hydrabot.on("messageDelete", function(message){
|
||||||
})
|
})
|
||||||
|
|
||||||
hydrabot.on("messageUpdate", function(former, edit){
|
hydrabot.on("messageUpdate", function(former, edit){
|
||||||
|
/*
|
||||||
if(former){
|
if(former){
|
||||||
|
|
||||||
if(former.author.equals(this.user) || former.content === edit.content){
|
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.sendMessage(channel, "**"+former.author.username + "** (edit from message "+seconds+" seconds ago):\n " + former.content);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
})
|
})
|
||||||
|
|
||||||
hydrabot.on( "message", function( message ) {
|
hydrabot.on( "message", function( message ) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue