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

Method cleanup

tmp_admin/tmp_admin.ts:364–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

362 }
363
364 description: string = `\n临时管理员\n\n${helpText}`;
365
366 cmdHandlers: Record<
367 string,
368 (msg: Api.Message, trigger?: Api.Message) => Promise<void>
369 > = {
370 tmp_admin: async (msg: Api.Message, trigger?: Api.Message) => {
371 await this.restorePromise;
372 const parts = (msg.message || "").trim().split(/\s+/).filter(Boolean);

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected