Fixed tellraw command syntax

This commit is contained in:
Malasaur 2025-08-29 10:24:23 +02:00
parent c5fd9b9310
commit 70053eb1d9

View file

@ -13,4 +13,4 @@ def minecraftToSignal(usr: str, msg: str):
@libsignal.onMessage(RetardsServer)
def signalToMinecraft(usr: str, msg: str):
libminecraft.sendCommand(f"tellraw @a [{usr}] {msg}")
libminecraft.sendCommand(f'tellraw @a "[{usr}] {msg.replace('"', r'\"')}"')