1
0
Fork 0
forked from mirrors/Vencord
Vencord/src/plugins/noReplyMention.ts
2022-10-02 04:08:34 +02:00

19 lines
530 B
TypeScript

import definePlugin from "../utils/types";
export default definePlugin({
name: "NoReplyMention",
description: "Disables reply pings by default",
authors: [{
name: "DustyAngel47",
id: 714583473804935238n
}],
patches: [
{
find: "CREATE_PENDING_REPLY:function",
replacement: {
match: /CREATE_PENDING_REPLY:function\((.{1,2})\){/,
replace: "CREATE_PENDING_REPLY:function($1){$1.shouldMention=false;"
}
}
]
})