no message

This commit is contained in:
kuaifan 2025-03-22 19:24:28 +08:00
parent cdd980112d
commit be53afe6b4
2 changed files with 5 additions and 0 deletions

View File

@ -494,6 +494,9 @@ class BotReceiveMsgTask extends AbstractTask
$webhookUrl = "{$serverUrl}/ai/chat";
} else {
// 用户机器人
if (str_starts_with($command, '/')) {
return;
}
$userBot = UserBot::whereBotId($botUser->userid)->first();
$webhookUrl = $userBot?->webhook_url;
}

View File

@ -386,6 +386,8 @@
margin-bottom: 12px;
> p {
display: flex;
flex-wrap: wrap;
word-break: break-all;
> span {
opacity: 0.8;
padding-right: 6px;