refactor(policy): move policy CRUD to /dirigent_policy slash command with explicit channelId
This commit is contained in:
@@ -113,10 +113,7 @@ export default {
|
||||
registerDirigentTools({
|
||||
api,
|
||||
baseConfig: baseConfig as DirigentConfig,
|
||||
policyState,
|
||||
pickDefined,
|
||||
persistPolicies,
|
||||
ensurePolicyStateLoaded,
|
||||
getLivePluginConfig,
|
||||
});
|
||||
|
||||
@@ -171,7 +168,11 @@ export default {
|
||||
// Register slash commands for Discord
|
||||
registerDirigentCommand({
|
||||
api,
|
||||
baseConfig: baseConfig as DirigentConfig,
|
||||
policyState,
|
||||
persistPolicies,
|
||||
ensurePolicyStateLoaded,
|
||||
getLivePluginConfig,
|
||||
});
|
||||
|
||||
// Handle NO_REPLY detection before message write
|
||||
|
||||
Reference in New Issue
Block a user