chore: 核心缓存位置设计完成
This commit is contained in:
1 parent
bfea373c35
commit
ba2235e2f6
2 files changed
+3
-1
No files matched your search
@@ -1,8 +1,9 @@
|
||||
import { NapCatCore } from "@/core";
|
||||
import { NapCatOneBot11Adapter } from "../main";
|
||||
export class OneBotGroupApi{
|
||||
export class OneBotGroupApi {
|
||||
obContext: NapCatOneBot11Adapter;
|
||||
coreContext: NapCatCore;
|
||||
GroupMemberList: Map<string, any> = new Map();//此处作为缓存 group_id->memberUin->info
|
||||
constructor(obContext: NapCatOneBot11Adapter, coreContext: NapCatCore) {
|
||||
this.obContext = obContext;
|
||||
this.coreContext = coreContext;
|
||||
|
||||
Reference in new issue
Block a user