fix: 🐛 no nyaizing undefined text

Closes #9752
This commit is contained in:
ThatOneCalculator 2023-03-22 11:54:09 -07:00
parent 4b1af35b39
commit 3a412b955d
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 1 additions and 1 deletions

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}`);
}