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

Method setup

autochangename/autochangename.ts:972–983  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

970 }
971 }
972
973 cleanup(): void {
974 this.stopAutoUpdate();
975 this.profileCache = null;
976 this.isUpdating = false;
977 }
978
979 setup(): void {
980 // Re-initialize state after cleanup/reload
981 this.profileCache = null;
982 this.isUpdating = false;
983 }
984
985 isSchedulerRunning(): boolean {
986 return cronManager.has(this.TASK_NAME);

Callers

nothing calls this directly

Calls 4

getAllEnabledUsersMethod · 0.80
startAutoUpdateMethod · 0.80
errorMethod · 0.80
setupMethod · 0.45

Tested by

no test coverage detected