clean up a bit

master
Drake 2 years ago
parent 2e330bbe1e
commit 5275bcba12

2
dist/plugin.js vendored

@ -1 +1 @@
(function(){"use strict";function n(e){const o=demon.webpack.findByProps("createPendingReply");e.unpatch=demon.patcher.before("createPendingReply",o,r=>{r[0].shouldMention=!1})}function t(e){e.unpatch()}var a={onStart:n,onStop:t,metadata:{name:"noReplyMention",desc:"Disable reply pings by default. (Cumcord port)",author:"Drake",cumcord:!1}};return a})();
(function(){"use strict";const{findByProps:e}=demon.summon("modules/webpack"),{before:t}=demon.summon("patcher");function o(){const n=e("createPendingReply");return{unpatch:t("createPendingReply",n,s=>{s[0].shouldMention=!1})}}function c(n){n.unpatch()}var a={onStart:o,onStop:c,meta:{name:"noReplyMention",desc:"Disable reply pings by default."}};return a})();

@ -17,5 +17,9 @@ function onStop(ctx) {
export default {
onStart,
onStop
onStop,
meta: {
name: "noReplyMention",
desc: "Disable reply pings by default."
}
}

Loading…
Cancel
Save