fix: 🐛 no nyaizing undefined text

Closes #9752
This commit is contained in:
ThatOneCalculator 2023-03-22 11:54:09 -07:00
parent 55add2d7f6
commit a23d554e76

View file

@ -583,7 +583,7 @@ async function post() {
}
}
if ($i?.isCat) {
if ($i?.isCat && (postData.text != null || postData.text!.length === 0)) {
postData.text = nyaize(`${postData.text}`);
}