From 0aeb09c2c6b6605d0e38c96156e3ca4e77fe799d Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 1 Jan 2025 14:35:39 -0800 Subject: [PATCH] Update sweebridge.py --- sweebridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ""