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"; $webhookUrl = "{$serverUrl}/ai/chat";
} else { } else {
// 用户机器人 // 用户机器人
if (str_starts_with($command, '/')) {
return;
}
$userBot = UserBot::whereBotId($botUser->userid)->first(); $userBot = UserBot::whereBotId($botUser->userid)->first();
$webhookUrl = $userBot?->webhook_url; $webhookUrl = $userBot?->webhook_url;
} }

View File

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