node-karin 0.12.5 → 0.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -229,7 +229,7 @@ export const config = new (class Cfg {
|
|
|
229
229
|
const key = 'change.group';
|
|
230
230
|
/** 取缓存 */
|
|
231
231
|
const res = this.change.get(key);
|
|
232
|
-
const keys = e?.self_id ? [`Bot
|
|
232
|
+
const keys = e?.self_id ? [`Bot:${e.self_id}:${group_id}`, `Bot:${e.self_id}`, group_id] : [group_id];
|
|
233
233
|
if (res) {
|
|
234
234
|
const cfg = { ...res.defCfg.default, ...res.Config.default };
|
|
235
235
|
for (const k of keys) {
|