mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-09 04:13:17 +08:00
feat: split group and direct context enhancement
This commit is contained in:
parent
38096d1589
commit
75ebaebf2e
21 changed files with 1423 additions and 873 deletions
|
|
@ -260,7 +260,8 @@ for (const scenario of [
|
|||
const order = [];
|
||||
const asked = [];
|
||||
const configFor = ([directEnabled, groupEnabled], guidance) => ({
|
||||
directEnabled, groupEnabled, fields: ['channel', 'botId'], guidance,
|
||||
group: { enabled: groupEnabled, fields: ['channel', 'botId'], guidance },
|
||||
direct: { enabled: directEnabled, fields: ['channel', 'botId'], guidance },
|
||||
});
|
||||
let config = configFor(scenario.before, 'before callback returned');
|
||||
let callback;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue