mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-11 02:16:23 +00:00
my bad. this time i actually fixed it
This commit is contained in:
parent
8ab224562a
commit
311c4bee3c
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))) && m != "") {
|
if (regexes.some(r => r != "" && m.content.match(new RegExp(r)))) {
|
||||||
m.mentions.push(me);
|
m.mentions.push(me);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue