mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 17:58:28 +00:00
refactor(channels): share channel config matching
Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
@@ -553,6 +553,7 @@ async function dispatchDiscordCommandInteraction(params: {
|
||||
parentId: threadParentId,
|
||||
parentName: threadParentName,
|
||||
parentSlug: threadParentSlug,
|
||||
scope: isThreadChannel ? "thread" : "channel",
|
||||
})
|
||||
: null;
|
||||
if (channelConfig?.enabled === false) {
|
||||
|
||||
Reference in New Issue
Block a user