MCPcopy Index your code
hub / github.com/TeleBoxOrg/TeleBox_Plugins / sendError

Method sendError

clean/clean.ts:485–487  ·  view source on GitHub ↗
(msg: Api.Message, errorMsg: string)

Source from the content-addressed store, hash-verified

483 }
484
485 private async sendError(msg: Api.Message, errorMsg: string): Promise<void> {
486 await this.editMessage(msg, `❌ <b>错误:</b> ${htmlEscape(errorMsg)}`);
487 }
488
489 private async handleError(msg: Api.Message, error: any): Promise<void> {
490 console.error(`[CleanPlugin] 错误:`, error);

Callers 5

handleCleanMethod · 0.95
handleDeletedCleanMethod · 0.95
handleBlockedCleanMethod · 0.95
cleanDeletedMemberMethod · 0.95
unblockMemberMethod · 0.95

Calls 2

editMessageMethod · 0.95
htmlEscapeFunction · 0.70

Tested by

no test coverage detected