fork of https://f-hub.org/XMPP/xmpp-discord-bridge

Fixed import. Listed more options in README.

+9 -3
+6
README.md
··· 55 55 # Secret for the proxy. Only used when the proxy is used. 56 56 hmac_secret = "some-secret" 57 57 58 + # Set to false to prevent the Discord channel description from being mirrored to the MUC ubject. 59 + mirror_subject = true 60 + 61 + # Set to false to prevent the Discord guild avatar from being copied to the MUC avatar. 62 + mirror_icon = true 63 + 58 64 [avatars] 59 65 # Path where avatars can be stored 60 66 path = "/some/path"
+3 -3
xmpp_discord_bridge/main.py
··· 25 25 import requests 26 26 27 27 from slixmpp_ext.oob import OOBData 28 - from avatar import AvatarManager 29 - from discord import DiscordClient 30 - from helpers import discord_status_to_xmpp_show 28 + from xmpp_discord_bridge.avatar import AvatarManager 29 + from xmpp_discord_bridge.discord import DiscordClient 30 + from xmpp_discord_bridge.helpers import discord_status_to_xmpp_show 31 31 32 32 # TODO: Move into separate file 33 33 # TODO: Add an option that allows a real user to join the MUC to replace a virtual one