diff --git a/sweebridge.py b/sweebridge.py index c212807..c1b6b39 100644 --- a/sweebridge.py +++ b/sweebridge.py @@ -384,7 +384,7 @@ async def on_message(message): if discord_enable: hook(discwebhook, json={"content": message.content, "username": message.author.display_name, "avatar_url": pfp}) else: if discord_enable: hook(discwebhook, json={"content": message.content, "username": message.author.display_name, "avatar_url": "https://git.swee.codes/swee/SweeBridge/raw/branch/main/logos/sweebridge-guilded.png"}) - if libera_enable: libera.send_irc(libera_channel, "[" + message.author.display_name +"] (Guilded): " + " ".join(message.content.split(" ")[1:]).replace("\n","(Newline)")) + if libera_enable: libera.send_irc(libera_channel, "[" + message.author.display_name +"] (Guilded): " + message.content.replace("\n","(Newline)")) if message.content[:13] == "b$liberausers": if libera_enable: temp = ""