refactor: getImageUrl

This commit is contained in:
手瓜一十雪 committed 2024-11-14 13:26:12 +08:00
1 parent e733a6b69a
commit dab0f9ab45
2 files changed
+70 -53

No files matched your search

+1 -1
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) {