refactor: getImageUrl

This commit is contained in:
手瓜一十雪
2024-11-14 13:26:12 +08:00
parent 35e85c115a
commit dec9b51f58
2 changed files with 70 additions and 53 deletions

View File

@@ -55,7 +55,7 @@ export class NapCatOneBot11Adapter {
apis: StableOneBotApiWrapper;
networkManager: OB11NetworkManager;
actions: ActionMap;
private bootTime = Date.now() / 1000;
private readonly bootTime = Date.now() / 1000;
recallMsgCache = new LRUCache<string, RawMessage>(100);
constructor(core: NapCatCore, context: InstanceContext, pathWrapper: NapCatPathWrapper) {