Update sweebridge.py
This commit is contained in:
parent
cab9376bc2
commit
0aeb09c2c6
1 changed files with 1 additions and 1 deletions
|
@ -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})
|
if discord_enable: hook(discwebhook, json={"content": message.content, "username": message.author.display_name, "avatar_url": pfp})
|
||||||
else:
|
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 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 message.content[:13] == "b$liberausers":
|
||||||
if libera_enable:
|
if libera_enable:
|
||||||
temp = ""
|
temp = ""
|
||||||
|
|
Loading…
Reference in a new issue