mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-11 10:26:21 +00:00
fix newly generated rule causing mass pings
This commit is contained in:
parent
c0fb89496f
commit
8ab224562a
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
|
|
||||||
applyRegexes(m) {
|
applyRegexes(m) {
|
||||||
if (regexes.some(r => m.content.match(new RegExp(r)))) {
|
if (regexes.some(r => m.content.match(new RegExp(r))) && m != "") {
|
||||||
m.mentions.push(me);
|
m.mentions.push(me);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue