mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 10:55:07 +00:00
This commit is contained in:
@@ -56,6 +56,11 @@ function listConfiguredGuildChannelKeys(
|
||||
if (!channelId) {
|
||||
continue;
|
||||
}
|
||||
// Skip wildcard keys (e.g. "*" meaning "all channels") — they are valid
|
||||
// config but are not real channel IDs and should not be audited.
|
||||
if (channelId === "*") {
|
||||
continue;
|
||||
}
|
||||
if (!shouldAuditChannelConfig(value as DiscordGuildChannelConfig | undefined)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user