# This configuration file is itself a Python module so beware # The bridge theoretically supports multiple gateways per protocol, # but this is untested and all of them are named "main" # For XMPP, the bridge needs to be a separate component (XEP-0114) # The bridge will connect to each MUC and it *MUST* BE A MODERATOR!! XMPPs = { "main": { # Bridge component JID "jid": "bridge.underware.dev", # Component secret (can be weak if the server-component link is local) "secret": "myprivates", # XMPP server address "server": "127.0.0.1", "port": 5347 } } DISCORDs = { "main": { # Bot token "token": "myprivates" } } # A Discord channel, XMPP MUC, Matrix room, etc. are all considered one "room" in xdm. # Each room must be uniquely named ROOMS = { "nectar": [ # List of gateways this room bridges to { # Use the XMPP gateway "main" "xmpp": "main", # JID of the MUC "jid": "bridge-testing@muc.underware.dev", # Nickname for the bridge "nick": "Bridge", }, { # Use the Discord gateway "main" "discord": "main", # You want a fucking textbook? What do you think this is "guild": 123123696942042069, "channel": 800813580081351010, } ] }