no message

This commit is contained in:
hellcat 2025-11-14 19:07:30 +08:00
parent e8530803d1
commit 7ee6c7c885

View File

@ -23,8 +23,8 @@ final class HookController
$sUpdate = file_get_contents("php://input");
$aUpdate = json_decode($sUpdate, true);
$sText = $aUpdate["message"]["text"] ?? "没有text";
if (!str_starts_with($sText, '/')) {
$aUpdate["message"]["text"] = $aUpdate["message"]["text"] ?? "没有text";
if (!str_starts_with($aUpdate["message"]["text"], '/')) {
// $this->sCustomCmd = "article";
// $this->sCustomFunc = "cache";
// $this->aCustomOption[1] = "ffq";