generated from Demon/demoncord-plugin-template
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
455 B
20 lines
455 B
function onStart(ctx) {
|
|
const createPendingReply = demon.webpack.findByProps("createPendingReply")
|
|
ctx["unpatch"] = demon.patcher.before("createPendingReply", createPendingReply, (args) => {
|
|
args[0].shouldMention = false
|
|
})
|
|
}
|
|
function onStop(ctx) {
|
|
ctx["unpatch"]()
|
|
}
|
|
export default {
|
|
onStart,
|
|
onStop,
|
|
metadata: {
|
|
name: "noReplyMention",
|
|
desc: "Disable reply pings by default. (Cumcord port)",
|
|
author: "Drake",
|
|
cumcord: false
|
|
}
|
|
}
|