diff --git a/RcGcDw_buttons b/RcGcDw_buttons index 41332a4b..fe595b15 160000 --- a/RcGcDw_buttons +++ b/RcGcDw_buttons @@ -1 +1 @@ -Subproject commit 41332a4b412453b25cad352ad28af0dc1f688f5b +Subproject commit fe595b15ecfa524b07b7680cf59351593c0b9895 diff --git a/bot.js b/bot.js index c2905c00..b61681f6 100644 --- a/bot.js +++ b/bot.js @@ -381,6 +381,7 @@ function messageCreate(msg) { }; client.on( Discord.Events.MessageUpdate, (oldmsg, msg) => { + if ( oldmsg.content === msg.content ) return; if ( !inlineCache.has(msg) ) return; if ( msg.channel.partial ) return msg.channel.fetch().then( () => { return messageUpdate(msg); diff --git a/package-lock.json b/package-lock.json index cb44fc67..212c203c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "htmlparser2": "^9.1.0", "mediawiki-projects-list": "^4.7.3", "npm": "^10.9.0", - "pg": "^8.13.0" + "pg": "^8.13.1" }, "engines": { "node": ">=20.0.0" @@ -3754,9 +3754,9 @@ "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==" }, "node_modules/pg": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/pg/-/pg-8.13.0.tgz", - "integrity": "sha512-34wkUTh3SxTClfoHB3pQ7bIMvw9dpFU1audQQeZG837fmHfHpr14n/AELVDoOYVDW2h5RDWU78tFjkD+erSBsw==", + "version": "8.13.1", + "resolved": "https://registry.npmjs.org/pg/-/pg-8.13.1.tgz", + "integrity": "sha512-OUir1A0rPNZlX//c7ksiu7crsGZTKSOXJPgtNiHGIlC9H0lO+NC6ZDYksSgBYY/thSWhnSRBv8w1lieNNGATNQ==", "license": "MIT", "dependencies": { "pg-connection-string": "^2.7.0", diff --git a/package.json b/package.json index cc47c01e..e5dd1105 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "htmlparser2": "^9.1.0", "mediawiki-projects-list": "^4.7.3", "npm": "^10.9.0", - "pg": "^8.13.0" + "pg": "^8.13.1" }, "repository": { "type": "git",