MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / showStatus

Method showStatus

xmsl/xmsl.ts:530–542  ·  view source on GitHub ↗
(msg: Api.Message)

Source from the content-addressed store, hash-verified

528🔑 密钥: ${this.config.apiKey ? '✅ 已设置' : '❌ 未设置'}
529📍 地址: ${htmlEscape(this.config.baseUrl.replace(/\/$/, ''))}
530🤖 模型: ${this.config.model}
531
532使用 查看帮助`;
533
534 await msg.edit({ text: statusText, parseMode: 'html' });
535 }
536
537 private async showConfig(msg: Api.Message) {
538 const configText = `<b>⚙️ 配置信息</b>
539
540mode: ${this.config.apiMode}
541key: ${this.config.apiKey ? '✅ 已设置' : '❌ 未设置'}
542url: <code>${htmlEscape(this.config.baseUrl.replace(/\/$/, ''))}</code>
543model: <code>${htmlEscape(this.config.model)}</code>
544
545使用 <code>${mainPrefix}xm set [key] [value]</code> 修改配置`;

Callers 1

handleXmslMethod · 0.95

Calls 2

htmlEscapeMethod · 0.95
editMethod · 0.45

Tested by

no test coverage detected