Skip to content

Commit

Permalink
Update reporter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooling0602 authored Sep 14, 2024
1 parent ca404ed commit 74bc172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions matrix_sync/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ def formater(server: PluginServerInterface, info: Info):
gameMsg = f"<{console_tr}> {msg_content}"
else:
option = psi.rtr("matrix_sync.on_console.commands")
gameMsg = f"* {console_tr} {option} -> {info.content}"
gameMsg = f"[!] {console_tr} {option} -> {info.content}"
if info.content == "stop":
gameMsg = psi.rtr("matrix_sync.sync_tips.server_stopping")
else:
if info.content.startswith("!!"):
option = psi.rtr("matrix_sync.on_console.commands")
gameMsg = f"* {info.player} {option} -> {info.content}"
gameMsg = f"[!] {info.player} {option} -> {info.content}"
report = False
clientStatus = matrix_sync.client.clientStatus
if clientStatus:
Expand Down

0 comments on commit 74bc172

Please sign in to comment.