Update sweebridge.py

This commit is contained in:
Nova Cat 2025-01-01 14:35:39 -08:00
parent cab9376bc2
commit 0aeb09c2c6

View file

@ -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 = ""