mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-05 09:12:10 +00:00
* fix(discord): role-based allowlist never matches because Carbon Role objects stringify to mentions Carbon's GuildMember.roles getter returns Role[] objects, not raw ID strings. String(Role) produces '<@&123456>' which never matches the plain role IDs in the guild allowlist config. Use data.rawMember.roles (raw Discord API string array) instead of data.member.roles (Carbon Role[] objects) for role ID extraction. Fixes #16207 * Docs: add discord role allowlist changelog entry --------- Co-authored-by: Shadow <hi@shadowing.dev>