no message

This commit is contained in:
hellcat 2025-03-24 21:56:37 +08:00
parent ca1be77c57
commit 9956f1f09f

View File

@ -55,7 +55,7 @@ final class HookController
$sText = $aUpdate["message"]["text"];
// 先检查step
if (strpos($string, "/s ") === 0 && $oTgStep->fromIdHit($aData['fromId'])) {
if (strpos($sText, "/s ") === 0 && $oTgStep->fromIdHit($aData['fromId'])) {
$sText = ltrim($sText, '/s');
$sText = trim($sText);