mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
74c3930e0a
* eslint * workflow * lint main
19 lines
531 B
TypeScript
19 lines
531 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;"
|
|
}
|
|
}
|
|
]
|
|
});
|