my bad. this time i actually fixed it

This commit is contained in:
camila314 2023-11-16 11:14:39 -06:00
parent 8ab224562a
commit 311c4bee3c

View file

@ -107,7 +107,7 @@ export default definePlugin({
},
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);
}
},