Skip to content

Commit

Permalink
fix: Add new lunar client log format
Browse files Browse the repository at this point in the history
  • Loading branch information
Amund211 committed Sep 25, 2023
1 parent 7c2192c commit 3851e61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/prism/overlay/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
# NOTE: This is non-standard, and we make no guarantees of it working
# We don not condone the use of hacked clients on public servers
"[Astolfo HTTP Bridge]: [CHAT] ",
"[Netty Client IO #7/INFO]: [CHAT] ", # New new lunar?
)


Expand Down
5 changes: 5 additions & 0 deletions tests/prism/overlay/test_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,11 @@ def test_remove_deduplication_suffix(message: str, result: str) -> None:
]
),
),
(
# Lobby swap on lunar (netty client?)
"[09:14:43] [Netty Client IO #7/INFO]: [CHAT] Sending you to mini68CU!",
LobbySwapEvent(),
),
(
# Nick reuse on lunar client
"[15:03:53] [Client thread/INFO]: [CHAT] You are now nicked as AmazingNick!",
Expand Down

0 comments on commit 3851e61

Please sign in to comment.