async-matrixSourceAsyncMatrixBridgeDiscordDBUser

class User

Maps a Matrix user to their Discord identity and session state.

user = User.create(mxid: "@alice:example.com", discord_id: "123456789") user.discord_id # => "123456789" user.space_room # => "!space:example.com" user.portals # => [Portal, ...]