Update src/plugins/keywordNotify/index.tsx

Co-authored-by: AutumnVN <autumnvnchino@gmail.com>
This commit is contained in:
camila 2023-11-11 20:36:19 -06:00 committed by GitHub
parent 473d147854
commit 99036977bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ export default definePlugin({
find: "isRawMessageMentioned:",
replacement: {
match: /isRawMessageMentioned:function\(\){return (.{1,2}).{1,512}function \1\(.{1,512}?=(.{1,2});return/,
replace: "$& Vencord.Plugins.plugins.KeywordNotify.contains($2) ||"
replace: "$& $self.contains($2) ||"
}
}],