class Guild
Maps a Discord guild (server) to a Matrix Space room.
Bridging modes control how aggressively the bridge creates portals: BRIDGE_NOTHING = 0 — never bridge BRIDGE_IF_PORTAL_EXISTS = 1 — only bridge existing portals BRIDGE_CREATE_ON_MESSAGE = 2 — create portals on first message BRIDGE_EVERYTHING = 3 — proactively create all portals
guild = Guild.create(discord_id: "999", name: "My Server", bridging_mode: 3) guild.portals # => [Portal, ...]