{{ pageTitle }}
已连接
连接中断
{{ counts.total }}
机器人总数
{{ counts.online }}
当前在线
{{ counts.running - counts.online < 0 ? 0 : counts.running - counts.online }}
连接中 / 重连中
{{ totalEventsToday }}
今日收到事件
机器人
还没有接入任何官方机器人
需要 QQ 开放平台的 AppID 与 AppSecret(q.qq.com)
{{ (b.name || 'Q')[0] }}
{{ b.name }}
AppID {{ b.appid }} · {{ b.env === 'sandbox' ? '沙箱' : '正式' }}
{{ b.statusText }}
{{ b.stats.today }}今日事件
{{ b.stats.total }}累计事件
{{ b.info ? b.info.username : '-' }}账号昵称
| 机器人 | AppID | 环境 | 状态 | 今日事件 | 累计事件 | 操作 |
|---|---|---|---|---|---|---|
| {{ b.name }} {{ b.info ? b.info.username : '' }} |
{{ b.appid }} | {{ b.env === 'sandbox' ? '沙箱' : '正式' }} | {{ b.statusText }} | {{ b.stats.today }} | {{ b.stats.total }} |
暂无机器人
{{ (bot.name || 'Q')[0] }}
{{ bot.name }} AppID {{ bot.appid }}
{{ fmtTime(l.ts) }}
{{ catName(l.cat) }}
{{ l.msg }}
{{ fmtData(l.data) }}
暂无日志
发送消息(QQ 官方 API v2)
msg_seq 自动按 msg_id 递增。注意官方限制:被动消息须在收到 msg_id 后 5 分钟内回复;主动消息有额度限制。
发送历史
| 时间 | 目标 | ID | 类型 | 内容 | 结果 |
|---|---|---|---|---|---|
| {{ fmtTime(h.ts) }} | {{ {group:'群',c2c:'单聊',channel:'频道'}[h.target] || h.target }} | {{ h.toId }} | {{ h.kind }} | {{ h.fileUrl || h.content || '-' }} | {{ h.ok ? '成功' : '失败' }} {{ h.resp }} |
暂无发送记录
连接信息
会话 ID{{ bot.runtime.sessionId || '-' }}
最后序列 seq{{ bot.runtime.lastSeq == null ? '-' : bot.runtime.lastSeq }}
心跳间隔{{ bot.runtime.hbInterval }}ms
最近心跳 ACK{{ bot.runtime.lastAckAt ? fmtTime(bot.runtime.lastAckAt) : '-' }}
Token 到期刷新{{ bot.runtime.tokenExpiresAt ? fmtTime(bot.runtime.tokenExpiresAt) : '-' }}
重连次数{{ bot.runtime.reconnectAttempts }}
在线时长{{ bot.status === 'online' && bot.connectedAt ? fmtDuration(Date.now() - bot.connectedAt) : '-' }}
最近事件{{ bot.runtime.lastEventAt ? fmtTime(bot.runtime.lastEventAt) : '-' }}
事件类型统计
| 事件类型 | 次数 |
|---|---|
| {{ t }} | {{ n }} |
尚未收到任何事件
连接配置
事件订阅(Intents)
「群聊 & 单聊事件」不能与频道类事件同时订阅(官方限制)
{{ fmtTime(l.ts) }}
{{ botNameOf(l.botId) }}
{{ catName(l.cat) }}
{{ l.msg }}
{{ fmtData(l.data) }}
暂无日志
修改管理密码
面板信息
版本v{{ meta.version }}
Node{{ meta.node }}
已运行{{ meta.uptime ? fmtDuration(meta.uptime) : '-' }}
数据目录{{ meta.dataDir }}
机器人数{{ counts.total }}
API 版本QQ 开放平台 api-v2
外观与账号
关于
本面板通过 QQ 开放平台官方 API(bot.q.qq.com wiki api-v2)接入官方机器人: AppID + AppSecret 获取 AccessToken,WebSocket 网关(wss://api.sgroup.qq.com/websocket) 完成鉴权(Identify)、心跳(Heartbeat)、断线重连与 Resume,事件实时展示,支持向群 / 单聊 / 频道发送消息。 UI 参考 NapCat WebUI 风格。