no message

This commit is contained in:
hellcat committed 2025-03-24 21:56:37 +08:00
1 parent ca1be77c57
commit 9956f1f09f
1 file changed
+1 -1
+1 -1
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);