1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +00:00
Vencord/src/plugins/noBlockedMessages.ts
2022-10-04 16:46:21 +02:00

19 lines
595 B
TypeScript

import { Devs } from "../utils/constants";
import definePlugin from "../utils/types";
export default definePlugin({
name: "NoBlockedMessages",
description: "Hides all blocked messages from chat completely.",
authors: [Devs.rushii],
patches: [
{
find: 'safety_prompt:"DMSpamExperiment",response:"show_redacted_messages"',
replacement: [
{
match: /collapsedReason;return (?=\w{1,2}.createElement)/,
replace: "collapsedReason; return null;"
}
]
}
]
});