diff --git a/src/plugins/noBlockedMessages.ts b/src/plugins/noBlockedMessages.ts new file mode 100644 index 00000000..d1d82bdb --- /dev/null +++ b/src/plugins/noBlockedMessages.ts @@ -0,0 +1,19 @@ +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;" + } + ] + } + ] +});