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

Function clearTrackedTimer

autorepeat/autorepeat.ts:141–144  ·  view source on GitHub ↗
(timer: ReturnType<typeof setTimeout>)

Source from the content-addressed store, hash-verified

139
140// ==================== 消息管理器 ====================
141class MessageManager {
142 static async smartEdit(
143 message: Api.Message | undefined,
144 text: string,
145 deleteAfter: number = CONFIG.MESSAGE_AUTO_DELETE,
146 parseMode: "html" | "md" = "html"
147 ): Promise<Api.Message | undefined> {

Callers 1

smartEditMethod · 0.70

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected