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

Method handleError

hitokoto/hitokoto.ts:185–191  ·  view source on GitHub ↗

* 错误处理

(msg: Api.Message, error: any)

Source from the content-addressed store, hash-verified

183 text: `❌ <b>获取一言失败:</b>${htmlEscape(errorMsg)}`,
184 parseMode: "html"
185 });
186 }
187}
188
189export default new HitokotoPlugin();

Callers 1

handleHitokotoCommandMethod · 0.95

Calls 2

htmlEscapeFunction · 0.70
editMethod · 0.45

Tested by

no test coverage detected