fn is_cross_guild(link: Id<GuildMarker>, source: Id<GuildMarker>) -> boolExpand description
Returns true when a link crosses a guild boundary.
Roles, permission overwrites and the @everyone id are all guild-local, so
check_visibility cannot evaluate a channel in
another guild — and the bot may not even be a member of that guild. Such
links are refused outright rather than judged.