MCPcopy Create free account
hub / github.com/Epic0522/Codex-Remote-Contact / sendOneBotGroupReply

Function sendOneBotGroupReply

src/server.js:5441–5452  ·  view source on GitHub ↗
(event, reply, options = {})

Source from the content-addressed store, hash-verified

5439}
5440
5441async function sendOneBotGroupReply(event, reply, options = {}) {
5442 if (!event.groupId) return { ok: false, reason: "Missing group id" };
5443 if (options.singleBubble) {
5444 return sendOneBotGroupMessage(event, reply, { quoteSource: isExplicitQqAtEvent(event) });
5445 }
5446 return sendQqGroupBubbles({
5447 event,
5448 reply,
5449 quoteFirstBubble: isExplicitQqAtEvent(event),
5450 sendGroupMessage: (bubble, options) => sendOneBotGroupMessage(event, bubble, options)
5451 });
5452}
5453
5454async function sendOneBotGroupMessage(event, reply, options = {}) {
5455 if (!event.groupId) return { ok: false, reason: "Missing group id" };

Callers 1

handleApiFunction · 0.85

Calls 3

sendOneBotGroupMessageFunction · 0.85
isExplicitQqAtEventFunction · 0.85
sendQqGroupBubblesFunction · 0.85

Tested by

no test coverage detected