Player format

This commit is contained in:
ciomek committed 2026-09-04 17:47:36 +02:00
1 parent 3dcd4173c2
commit 632d990c85
5 files changed
+27 -13

No files matched your search

+4
View File
@@ -7,6 +7,10 @@ from loon.web.logs.models import LogType, LogEntry
from loon.web.logs.types import LogTypeEnum
def player_tag(uuid: str, username: str) -> str:
return f"[player:{uuid}]{username}[/player]"
def _write_log(log_type: LogTypeEnum, message: str) -> None:
with Session(engine) as session:
statement = select(LogType).where(LogType.code == log_type.value)