mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 19:54:32 +00:00
fix: normalize Discord wildcard sentinel parsing (#29459) (thanks @Sid-Qin)
This commit is contained in:
@@ -662,7 +662,7 @@ export function parseDiscordComponentCustomIdForCarbon(id: string): ComponentPar
|
||||
}
|
||||
|
||||
export function parseDiscordModalCustomIdForCarbon(id: string): ComponentParserResult {
|
||||
if (id === "*" || id === "__openclaw_discord_component_modal_wildcard__") {
|
||||
if (id === "*" || isDiscordComponentWildcardRegistrationId(id)) {
|
||||
return { key: "*", data: {} };
|
||||
}
|
||||
const parsed = parseCustomId(id);
|
||||
|
||||
Reference in New Issue
Block a user